Expand description
Task abstraction and execution trait for workflow system.
Defines the core task interface that all workflow tasks must implement, along with supporting types for task identification, execution context, and result reporting.
Structs§
- Compensation
Action - Compensation action that undoes task side effects.
- Task
Context - Execution context provided to workflow tasks.
- TaskId
- Unique identifier for a workflow task.
Enums§
- Compensation
Type - Type of compensation action for task rollback.
- Dependency
- Dependency strength between tasks.
- Task
Error - Error types for task execution.
- Task
Result - Execution result for a workflow task.
Traits§
- Workflow
Task - Trait for workflow task execution.