WorkflowCheckpointLease
Parameters and properties
Section titled “Parameters and properties”readRequired() => Promise<unknown>Returns the saved checkpoint as unvalidated data, or undefined for a new run. start() validates it against the workflow before running any task.writeRequired(checkpoint: WorkflowCheckpoint) => Promise<void>Replaces the saved checkpoint while the lease is held. createWorkflowCheckpointStore() writes conditionally on the last revision, rejecting with TransportConflict once ownership is lost, and rejects checkpoints above 16 MiB.releaseRequired() => Promise<void>Clears ownership once pending writes settle and keeps the saved checkpoint. start() calls it when it returns or rejects.