Skip to content

ResumableBatchOptions

Defined in: src/transfers/resumableBatch.ts:236

Options accepted by runResumableBatch.

PropertyTypeDescriptionDefined in
bandwidthLimit?TransferBandwidthLimitBandwidth limit forwarded to the queue.src/transfers/resumableBatch.ts:258
batchStoreTransferBatchStateStoreStep-completion persistence.src/transfers/resumableBatch.ts:246
client?TransferClientClient whose defaults seed queue retry/timeout policies.src/transfers/resumableBatch.ts:250
concurrency?numberMaximum steps executed concurrently. Defaults to 1.src/transfers/resumableBatch.ts:252
engine?TransferEngineTransfer engine override forwarded to the queue.src/transfers/resumableBatch.ts:248
executorTransferExecutorExecutor for individual jobs. Pass an executor created with createProviderTransferExecutor and a resume option so interrupted files also resume at the byte level.src/transfers/resumableBatch.ts:244
onError?(item: TransferQueueItem, error: unknown) => voidFailure observer per failed step.src/transfers/resumableBatch.ts:266
onProgress?(event: TransferProgressEvent) => voidProgress observer shared across the batch.src/transfers/resumableBatch.ts:262
onReceipt?(receipt: TransferReceipt) => voidCompletion observer per successful step.src/transfers/resumableBatch.ts:264
planTransferPlanPlan to execute (or re-execute after a crash).src/transfers/resumableBatch.ts:238
retry?TransferRetryPolicyRetry policy forwarded to the queue.src/transfers/resumableBatch.ts:254
signal?AbortSignalAbort signal canceling the batch run.src/transfers/resumableBatch.ts:260
timeout?TransferTimeoutPolicyTimeout policy forwarded to the queue.src/transfers/resumableBatch.ts:256