UNPKG

playwright-bdd

Version:
6 lines 279 B
/** * Runs fn for each item with at most `concurrency` items in-flight at a time. * Simple alternative to the p-map package. */ export declare function pMap<T>(items: T[], fn: (item: T) => Promise<void>, concurrency: number): Promise<void>; //# sourceMappingURL=p-map.d.ts.map