Skip to main content

complete_started_http_step_with_hook

Function complete_started_http_step_with_hook 

Source
pub async fn complete_started_http_step_with_hook<FCancel, FBody, FBodyFuture>(
    started: StartedHttpStep,
    step: &PipelineStep,
    context: &HashMap<String, StepExecutionResult>,
    specs: Option<&[RuntimeSpec]>,
    env_groups: Option<&[RuntimeEnvGroup]>,
    selected_env_group_slug: Option<&str>,
    should_cancel: FCancel,
    on_body_completed: FBody,
) -> Option<StepExecutionResult>
where FCancel: FnMut() -> bool, FBody: FnMut() -> FBodyFuture, FBodyFuture: Future<Output = ()>,