Skip to main content

Module ctx

Module ctx 

Source

Structsยง

BackgroundTasks
Holds the background-task JoinHandles. When the last Arc is dropped the tasks are abandoned (tokio will cancel them on shutdown).
WorkflowCtx
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>>).