SingularFunction models any async function
Converts a batched functions to a singular one. If maxBatchSize is undefined, only one batched call at a time is done, otherwise calls with batches of at most maxBatchSize can be run in parallel
the batched function
the max batch size of each batched call
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