Skip to main content

switch_on_trigger

Function switch_on_trigger 

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

Switch a DAG’s trigger back on, forgetting its strikes. Applied by the master; poll the command for the decision.