Type Parameters
- args extends unknown[]
- ret
- IsAsync extends Boolean
Returns IsAsync extends true ? Promise<AwaitedUnion<ret>[]> : ret[]
The results of the calls, either as an array of values or a promise that resolves to an array of values. See main description.
Wrap a value for running a function multiple times with a different set of params each time. The function is ran with the params serially (one at a time, in order). If the async param is true, this function will return a promise that resolves with all of the values returned after the promise-like values are resolved. Otherwise, it with synchronously return all of the values returned.