Module workflow

Module workflow 

Source

Structs§

NoOpEventSender
No-op event sender for contexts without event sending capability.
ParallelBuilder
Builder for executing workflow steps in parallel.
ParallelResults
Results from parallel step execution.
Step
A workflow step definition.
StepBuilder
Builder for configuring and executing a step.
StepConfig
Configuration for a step (without closures, for storage).
StepResult
Result of a step execution.
StepRunner
A fluent builder for executing workflow steps.
StepState
Step state stored during execution.
WorkflowContext
Context available to workflow handlers.
WorkflowEvent
A workflow event that can wake suspended workflows.
WorkflowInfo
Workflow metadata.

Enums§

StepStatus
Step execution status.
SuspendReason
Reason for workflow suspension.
WorkflowStatus
Workflow execution status.

Traits§

ForgeWorkflow
Trait for workflow handlers.
WorkflowEventSender
Trait for sending workflow events.

Functions§

serialize_payload
Helper function to serialize a payload.

Type Aliases§

CompensationHandler
Type alias for compensation handler function.