Structsยง
- Background
Tasks - Holds the background-task JoinHandles. When the last Arc
is dropped the tasks are abandoned (tokio will cancel them on shutdown). - Workflow
Ctx - The workflow context. Owns the store, background-task handles, and
per-request config. Serves as both the orchestrator (all engine methods
live as
impl WorkflowCtx<S>) and the axum state (Arc<WorkflowCtx<S>>).