AsyncMapOptions
Options for asyncMap and asyncFlatMap.
Import:
import type { AsyncMapOptions } from '@mnaoumov/typescript-lib/async';Signature:
export interface AsyncMapOptionsProperties
| Property | Type | Description |
|---|---|---|
| abortSignal? | AbortSignal | Stops new callbacks from starting and rejects with the signal's reason once aborted. |
| concurrency? | number | The maximum number of callbacks running at once: a positive integer, or Infinity for no limit. |
Links to this page: