Skip to main content

Module task

Module task 

Source
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§

CompensationAction
Compensation action that undoes task side effects.
TaskContext
Execution context provided to workflow tasks.
TaskId
Unique identifier for a workflow task.

Enums§

CompensationType
Type of compensation action for task rollback.
Dependency
Dependency strength between tasks.
TaskError
Error types for task execution.
TaskResult
Execution result for a workflow task.

Traits§

WorkflowTask
Trait for workflow task execution.