Skip to main content

Module fold

Module fold 

Source
Expand description

Ephemeral fold. Params stay as JSON so newer open values survive verbatim.

Structs§

DeliveryGap
A pending hole in the session’s event stream: every undelivered event lies between view cursors after and next, both exclusive. A later view/gap can move next further, so a joined gap can also span delivered cursors.
Items
Sealed item read view: mutation is available only through SessionFold.
PendingApproval
An approval awaiting its first durable terminal.
SessionFold
A fold must be bound to one server session at construction.
SessionState
Sealed state read view: mutation is available only through SessionFold.
Turn
The fold’s record of one turn, built from its turn events.

Enums§

FoldOutcome
What SessionFold::apply did with one event.
ItemOutcome
What one item event did to the item it names.
TurnState
Where a turn stands in the fold.