Skip to main content

cancel_run

Function cancel_run 

Source
pub async fn cancel_run(
    __arg0: State<ApiState>,
    __arg1: Path<String>,
    __arg2: Extension<User>,
    key: RequestKey,
) -> Result<(StatusCode, Json<CommandView>), ApiError>
Expand description

Cancel a run (schedr runs cancel). Applied by the master; poll the command for the decision.