Skip to content
Menu
Auto
English

WatermarkBatchOptions

Defined in: batch.ts:32

Result

optional concurrency?: number

Defined in: batch.ts:34

Requested worker count. Web is capped at 4 and native targets at 1.


optional onProgress?: (progress) => void

Defined in: batch.ts:38

Called once when each item is fulfilled, rejected, or skipped after abort.

WatermarkBatchProgress<Result>

void


optional signal?: AbortSignal

Defined in: batch.ts:36

Stops new items from starting. Already-running items are allowed to finish.