Expand description
Execution history events and the state derived from them.
The event history is authoritative (RFC-0001 §9.8): ExecutionState is
always the left fold of apply over an execution’s events, so a runtime
restart reconstructs exactly the state that was committed.
Modules§
- codes
- Runtime-generated error codes.
Structs§
- Execution
State - History
Event - A recorded event with its position and commit time.
- Parent
Ref - Link from a child execution to the parent unit that started it.
- Task
Error - Structured task error, as reported by a worker or produced by the runtime.
- UnitKey
- A unit key decomposed:
[compensate:]step[[index]]. - Unit
State - One schedulable unit: a workflow step, or the compensation of a step
(key
compensate:<step>).
Enums§
- Abort
Reason - Why a running workflow is being wound down.
- Compensation
Outcome - Event
- Unit
Status - Workflow
Status
Functions§
- apply
- Apply one event. Pure and total: unknown combinations are ignored so that replaying an older history never panics.
- compensation_
key - element_
key - Unit key of element
iof aforstep. - parse_
key