Skip to main content

Module ids

Module ids 

Source
Expand description

Journal-boundary newtypes.

Every identifier that crosses the journal boundary is a distinct newtype with private fields and a smart constructor. No raw String or i64 is passed across the API, which makes it impossible to confuse, say, a JournalSeq with a StepId. Each newtype is serde-round-trip stable so it can be persisted and reloaded without loss.

Structs§

ExecutionId
Identifier of a single durable execution.
IdempotencyKey
Domain-separated deduplication key for a non-idempotent effect.
JournalSeq
Global append order of a journal entry — the durability anchor.
PromiseId
Reference to an external-completion handle (HITL, A2A async, subagent result).
StepId
Position of a step within an execution.
TimerId
Handle to a durable timer that wakes at a persisted instant, surviving process restarts.

Enums§

ExecutionKind
Closed classification of what a durable execution represents.