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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
plan | TransferPlan | Plan to serialize. |
Returns
Section titled “Returns”string
Stable JSON representation.