Skip to content

TransferResumeMode

type TransferResumeMode = "auto" | "require" | "off";

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

Resume behavior for a transfer.

  • "auto" (default) - resume when both endpoints are capable (resumeDownload on the source, resumeUpload on the destination) and a valid checkpoint exists; otherwise transfer from scratch.
  • "require" - throw UnsupportedFeatureError when either endpoint cannot resume, instead of silently restarting.
  • "off" - never consult or write checkpoints.