@lucid-softworks/workflow-checkpoint-codec
v0.1.0
Published
Lossless records and serialization for durable workflow checkpoints.
Maintainers
Readme
@lucid-softworks/workflow-checkpoint-codec
Database-neutral records and lossless serialization for
WorkflowCheckpoint. Task outputs use
@lucid-softworks/structured-value-codec, while completion ordering stays
explicit and validated.
import {
serializeWorkflowCheckpointRecord,
workflowCheckpointToRecord,
} from "@lucid-softworks/workflow-checkpoint-codec";
const payload = serializeWorkflowCheckpointRecord(
workflowCheckpointToRecord(checkpoint),
);Malformed records fail with WorkflowCheckpointCodecError.
