PooledMapOptions
import { PooledMapOptions } from "jsr:@ende/async/unstable-pool";interface ยท experimental
interface PooledMapOptionsOptions for pooledMap.
Properties
poolLimit
poolLimit: numberThe maximum count of items being processed concurrently. Must be a positive integer.
signal
signal?: AbortSignalAn AbortSignal to cancel the pooled mapping operation.
If the signal is aborted, no new items will begin processing and the
source iterator is closed. All currently executing items are allowed to
finish and are still yielded on success. The iterator then rejects with
the signal's reason, or with an AggregateError collecting the rejections
if any of those in-flight items failed.
Default: undefined