PooledMapSettledOptions

import { PooledMapSettledOptions } from "jsr:@ende/async/unstable-pool-settled";

interface ยท experimental

interface PooledMapSettledOptions

Options for pooledMapSettled.

Properties

poolLimit

poolLimit: number

The maximum count of items being processed concurrently. Must be a positive integer.

signal

signal?: AbortSignal

An AbortSignal to cancel the pooled mapping operation.

If the signal is aborted, no new items will begin processing. All currently executing items are allowed to finish and their settled results are yielded. The iterator then rejects with the signal's reason.

Default: undefined

Source