Skip to content

mapLimit

mapLimit<T, R>(items, limit, fn): Promise<R[]>

Defined in: packages/core/src/utils/map-limit.ts:12

Run fn over items with at most limit in flight; results keep input order.

T

R

readonly T[]

number

(item, index) => Promise<R>

Promise<R[]>