Skip to main content

build_workflow_ctx

Function build_workflow_ctx 

Source
pub fn build_workflow_ctx<S: WorkflowStore + 'static>(
    store: S,
) -> Arc<WorkflowCtx<S>>
Expand description

Start a WorkflowCtx around the given store. Authentication + authorization are no longer the workflow’s concern — the engine wraps the workflow router with a gate middleware (build_app) that handles all of that.