Skip to content

serializeTransferPlan

function serializeTransferPlan(plan: TransferPlan): string;

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

Serializes a transfer plan to JSON for persistence.

The output round-trips through deserializeTransferPlan, so a plan written to disk before a batch starts can be reloaded to resume the batch in a fresh process.

ParameterTypeDescription
planTransferPlanPlan to serialize.

string

Stable JSON representation.