WatermarkBatchOptions
Defined in: batch.ts:32
Type Parameters
Section titled “Type Parameters”Result
Section titled “Result”Result
Properties
Section titled “Properties”concurrency?
Section titled “concurrency?”
optionalconcurrency?:number
Defined in: batch.ts:34
Requested worker count. Web is capped at 4 and native targets at 1.
onProgress?
Section titled “onProgress?”
optionalonProgress?: (progress) =>void
Defined in: batch.ts:38
Called once when each item is fulfilled, rejected, or skipped after abort.
Parameters
Section titled “Parameters”progress
Section titled “progress”WatermarkBatchProgress<Result>
Returns
Section titled “Returns”void
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: batch.ts:36
Stops new items from starting. Already-running items are allowed to finish.