UNPKG

batched-promise-all

Version:

:flight_departure: zero deps utility for keeping your memory footprint manageable with varying datasets

2 lines (1 loc) 146 B
export declare const batchedPromiseAll: <T>(promiseArr: T[], iterationCb: (item: T, index: number) => any, batchSize: number) => Promise<any[]>;