Skip to main content

run_workflow_summary

Function run_workflow_summary 

Source
pub async fn run_workflow_summary<E: NodeExecutor + ?Sized>(
    workflow: &WorkflowDefinition,
    execution: &ExecutionMetadata,
    executor: &E,
) -> Result<WorkflowRunSummary>
Expand description

Execute the workflow through one executor and return an aggregate summary.

ยงErrors

Returns an error if the default run policy rejects the workflow shape or registry-style executor setup fails.