Skip to content

ProviderTransferWriteRequest

Defined in: src/providers/ProviderTransferOperations.ts:60

Request passed to provider write implementations.

PropertyTypeDescriptionInherited fromDefined in
attemptnumberOne-based attempt number.ProviderTransferRequest.attemptsrc/transfers/TransferEngine.ts:30
bandwidthLimit?TransferBandwidthLimitOptional throughput limit shape for concrete executors to honor.ProviderTransferRequest.bandwidthLimitsrc/transfers/TransferEngine.ts:34
checkpoint?TransferCheckpointHandleCheckpoint handle for part-aware providers (multipart/staged-block uploads). Attached by the transfer executor when resume is configured; providers persist progress through it and read prior state from it.-src/providers/ProviderTransferOperations.ts:74
contentTransferDataSourceContent stream to write to the provider endpoint.-src/providers/ProviderTransferOperations.ts:62
endpointTransferEndpointEndpoint owned by the provider handling this request.ProviderTransferRequest.endpointsrc/providers/ProviderTransferOperations.ts:34
jobTransferJobJob being executed.ProviderTransferRequest.jobsrc/transfers/TransferEngine.ts:28
offset?numberResume offset for partial writes when supported by the provider.-src/providers/ProviderTransferOperations.ts:66
onBytesCommitted?(committedBytes: number) => voidReports the absolute contiguous byte watermark durably acknowledged by the destination (including any resume offset). Sequential-append providers call this after each acknowledged write so the executor can persist byte-offset checkpoints; unlike reportProgress the value must never include unacknowledged in-flight bytes.-src/providers/ProviderTransferOperations.ts:82
signal?AbortSignalAbort signal active for this execution when supplied.ProviderTransferRequest.signalsrc/transfers/TransferEngine.ts:32
totalBytes?numberExpected total bytes for the content stream when known.-src/providers/ProviderTransferOperations.ts:64
verification?TransferVerificationResultVerification details from the read side that a writer may preserve or compare.-src/providers/ProviderTransferOperations.ts:68
reportProgress(bytesTransferred: number, totalBytes?: number): TransferProgressEvent;

Defined in: src/transfers/TransferEngine.ts:38

Emits a normalized progress event through engine options.

ParameterType
bytesTransferrednumber
totalBytes?number

TransferProgressEvent

ProviderTransferRequest.reportProgress


throwIfAborted(): void;

Defined in: src/transfers/TransferEngine.ts:36

Throws an SDK abort error when the active signal has been cancelled.

void

ProviderTransferRequest.throwIfAborted