pub trait WorkflowDispatch: Send + Sync {
// Required method
fn start_by_name(
&self,
workflow_name: &str,
input: Value,
) -> Pin<Box<dyn Future<Output = Result<Uuid>> + Send + '_>>;
}Expand description
Trait for starting workflows from function contexts.
This trait allows mutation and action contexts to start workflows without directly depending on the runtime’s WorkflowExecutor.