Skip to content

MapOptions

Defined in: src/batch.ts:10

  • BatchOptions

optional concurrency?: number

Defined in: src/batch.ts:12

Max items running at once. Default: all.


optional pipeline?: ResiliencePipeline<any, any>

Defined in: src/batch.ts:6

Each task / item runs through it separately (e.g. its own retries and timeout).

BatchOptions.pipeline


optional signal?: AbortSignal

Defined in: src/batch.ts:7

BatchOptions.signal


optional stopOnError?: boolean

Defined in: src/batch.ts:14

true (default): reject on the first failure and abort the rest. false: run every item and return an Outcome per item.