Skip to main content

execute_pipeline_with_runtime_hooks

Function execute_pipeline_with_runtime_hooks 

Source
pub async fn execute_pipeline_with_runtime_hooks<FStart, FResult, FCancel>(
    pipeline: &Pipeline,
    selected_base_url_key: Option<&str>,
    specs: Option<&[RuntimeSpec]>,
    env_groups: Option<&[RuntimeEnvGroup]>,
    selected_env_group_slug: Option<&str>,
    on_step_start: FStart,
    on_step_result: FResult,
    should_cancel: FCancel,
) -> Vec<StepExecutionResult>
where FStart: FnMut(&str), FResult: FnMut(&StepExecutionResult), FCancel: FnMut() -> bool,