pub async fn run_workflow_with_registry<R>(
workflow: &WorkflowDefinition,
execution: &ExecutionMetadata,
registry: &R,
) -> Result<()>where
R: NodeExecutorRegistry + ?Sized,Expand description
Execute the workflow by resolving one executor for each node from a registry.
ยงErrors
Returns an error if the default run policy rejects the workflow shape, executor resolution fails, or any node execution fails.