SingularFunction models any async function
Converts a batched functions to a singular one. Al least minConcurrent calls and at most maxConcurrent are done at a time, at most maxBatchSize is allocated to each call. When maxBatchSize is reached, more concurrent calls are made, until maxConcurrent is reached, if specified. Each call takes a part of the remaining queue
the batched function
the maximum batch size allocated to a call
the maximum number of concurrent calls
the minimum number of concurrent calls
the singular function
Generated using TypeDoc
BatchedFunction models an async function that takes as argument an array of function arguments and resolves to an array of Promise