BatchProcessOptions
このコンテンツはまだ日本語訳がありません。
Defined in: index.ts:31
Options for batch processing
Properties
Section titled “Properties”batchSize?
Section titled “batchSize?”
optionalbatchSize?:number
Defined in: index.ts:33
Number of items to process in parallel within each batch (default: 1)
continueOnError?
Section titled “continueOnError?”
optionalcontinueOnError?:boolean
Defined in: index.ts:41
If true, errors are returned in results instead of throwing (default: false)
delayBetweenBatches?
Section titled “delayBetweenBatches?”
optionaldelayBetweenBatches?:number
Defined in: index.ts:37
Delay in milliseconds to wait between batches (useful for rate limiting)
flatten?
Section titled “flatten?”
optionalflatten?:boolean
Defined in: index.ts:43
If true, returns a flat array instead of nested arrays (default: false)
onProgress?
Section titled “onProgress?”
optionalonProgress?: (completed,total) =>void
Defined in: index.ts:35
Callback function called after each batch completes, receives (completed, total) batches
Parameters
Section titled “Parameters”completed
Section titled “completed”number
number
Returns
Section titled “Returns”void
retry?
Section titled “retry?”
optionalretry?:RetryOptions
Defined in: index.ts:39
Retry configuration for failed tasks
timeout?
Section titled “timeout?”
optionaltimeout?:number
Defined in: index.ts:45
Maximum time in milliseconds for each task to complete (default: no timeout)