Skip to content

createProviderTransferExecutor

function createProviderTransferExecutor(options: ProviderTransferExecutorOptions): TransferExecutor;

Defined in: src/transfers/createProviderTransferExecutor.ts:65

Creates a TransferExecutor that reads from a source provider and writes to a destination provider.

The returned executor supports single-object upload, download, and copy jobs. Provider sessions must expose session.transfers.read() and session.transfers.write(); concrete providers remain responsible for the actual streaming implementation.

ParameterTypeDescription
optionsProviderTransferExecutorOptionsSession resolver used for source and destination endpoints.

TransferExecutor

Transfer executor suitable for TransferEngine.execute or TransferQueue.