gflow 0.4.15

A lightweight, single-node job scheduler written in Rust.
Documentation
1
2
3
4
5
6
7
8
use anyhow::Result;
use gflow::client::Client;

pub async fn handle_fail(client: &Client, job_id: u32) -> Result<()> {
    client.fail_job(job_id).await?;

    Ok(())
}