This release is versions behind 1.4.0 — the latest version of @std/async.
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
•JSR Score100%•This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




License
•MIT
Downloads26,606/wk
•Publisheda month ago (1.3.0)
Utilities for asynchronous operations, like delays, debouncing, or pooling
Functions
f
pooledMap<T, R>(): AsyncIterableIterator<R>
poolLimit: number,
array: Iterable<T> | AsyncIterable<T>,
iteratorFn: (data: T) => Promise<R>
pooledMap transforms values from an (async) iterable into another async iterable. The transforms are done concurrently, with a max concurrency defined by the poolLimit.