iya-sts
    Preparing search index...
    leastLoaded: (pool: any, among: any) => any = leastLoaded

    Type Declaration

      • (pool: any, among: any): any
      • Picks the ready worker with the fewest requests in flight, then the fewest served.

        Parameters

        • pool: any

          the pool name

        • among: any

          optional; the workers to choose from, such as the batch lane

        Returns any

        the worker's entry, or null when none is ready