Skip to main content

simulate

Function simulate 

Source
pub fn simulate(
    workflows: &[WorkflowIr],
    workflow: &str,
    version: Option<&str>,
    input: Value,
    signals: &[(String, Value)],
    handler: &mut dyn TaskHandler,
) -> Result<Simulation, String>
Expand description

Run workflow once with handler acting as every worker.