Skip to main content

run_tasks

Function run_tasks 

Source
pub async fn run_tasks<T: Transport>(
    command: &TasksCommand,
    client: &Client<T>,
    output: &Output,
    out: &mut impl Write,
) -> Result<(), AppError>
Expand description

schedr tasks cancel and retry: each waits for the master’s decision; logs, attempts and output read.

§Errors

AppError::Client as for run_dags (a rejection carries the master’s reason).