Skip to content
docs

pool

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

Defined in: protocol-staking-native-monad/src/rpc.ts:24

Maps items with at most limit calls in flight, keeping the order.

T

R

readonly T[]

number

(item, index) => Promise<R>

Promise<R[]>