iya-sts
    Preparing search index...
    admitBatch: (pool: any, req: any, res: any, dispatch: any) => void = admitBatch

    Type Declaration

      • (pool: any, req: any, res: any, dispatch: any): void
      • Dispatches a batch request now if the pool's lane has room, or queues it.

        A full queue, or a wait past workers.batchQueueTimeoutS, is answered 503 with Retry-After.

        Parameters

        • pool: any

          the pool name

        • req: any

          the request

        • res: any

          the response

        • dispatch: any

          called with release, which must be called exactly once when the dispatched request finishes

        Returns void