Skip to main content

Module outbox

Module outbox 

Expand description

Durable terminal-finalization intent types.

The outbox is deliberately a capability value rather than a queue API. A lifecycle backend stores one record for a terminal owner epoch, advances that record through explicit phases, and lets recovery replay every phase until it reaches the done phase.

Structs§

FinalizationIntent
The durable initial intent and pre-terminal seam-state baseline for one finalization.
OutboxAdvanceRequest
One atomic callback-phase advance request.
OutboxEffectCompletion
A request to acknowledge one externally executed outbox effect.
OutboxEffectIntent
A stable effect id and its durable action.
OutboxEffectKey
The stable key for one effect in one terminal finalization.
OutboxKey
The durable identity of one terminal finalization.
OutboxRecord
A durable snapshot of one outbox record.
ReplacementSpec
Typed retry/fork metadata attached to a replacement creation effect.

Enums§

OutboxEffect
One action discovered while finalizing a terminal trial.
OutboxPhase
The ordered callback phases of a terminal finalization.
ReplacementOutcome
The result of an idempotent replacement creation operation.

Constants§

REPLACEMENT_BLOB_KIND
The kind tag used for core-owned replacement lineage state.
REPLACEMENT_BLOB_VERSION
The schema version used for core-owned replacement lineage state.

Functions§

replacement_scope
Returns the typed state scope for a replacement’s attempt metadata.

Type Aliases§

EffectIntent
Alias for callers that refer to effects as intents.
FinalizationAdvanceRequest
Alias using the finalization terminology used by lifecycle callers.
FinalizationPhase
Alias using the finalization terminology used by lifecycle callers.