UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

7 lines 369 B
import type { IteratorOrIterable, Awaited } from './types'; /** Calls `Promise.all` on all collected values, optionally limiting concurrent in-flight promises. */ export declare function promiseAll<T>(arg: IteratorOrIterable<T>, { concurrency }?: { concurrency?: number; }): Promise<Awaited<T>[]>; export default promiseAll; //# sourceMappingURL=promiseAll.d.ts.map