Skip to main content

Module state

Module state 

Source
Expand description

Task state model and validation.

TaskState is the lifecycle enum; TaskRecord is its durable representation; StateValidator enforces legal transitions and repairs recovered state.

Structs§

RepairReport
Summary of repairs applied during StateValidator::repair.
StateValidator
Validates state transitions and repairs recovered state.
TaskRecord
A persisted snapshot of a task’s execution history.

Enums§

TaskState
The lifecycle state of a single task.

Functions§

now_millis
Returns the current time as milliseconds since the Unix epoch.