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§
- Repair
Report - Summary of repairs applied during
StateValidator::repair. - State
Validator - Validates state transitions and repairs recovered state.
- Task
Record - A persisted snapshot of a task’s execution history.
Enums§
- Task
State - The lifecycle state of a single task.
Functions§
- now_
millis - Returns the current time as milliseconds since the Unix epoch.