gflow 0.4.15

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

pub async fn handle_reserve_cancel(client: &Client, id: u32) -> Result<()> {
    client.cancel_reservation(id).await?;

    println!("Reservation {} cancelled successfully.", id);

    Ok(())
}