Skip to main content

Module workflow

Module workflow 

Source

Structs§

NoOpEventSender
No-op event sender for contexts without event sending capability.
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.
StepState
Step state stored during execution.
WorkflowContext
Context available to workflow handlers.
WorkflowEvent
A workflow event that can wake suspended workflows.
WorkflowInfo
Metadata for a registered workflow handler.

Enums§

StepStatus
Step execution status.
SuspendReason
Reason for workflow suspension.
WorkflowDefStatus
Lifecycle state of a workflow definition version.
WorkflowStatus
Workflow execution status. Blocked variants are non-terminal.

Traits§

ForgeWorkflow
Trait for durable 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.