1 2 3 4 5 6 7 8 9 10 11
use ixa::run_with_args; fn main() { run_with_args(|context, _, _| { context.add_plan(1.0, |context| { println!("The current time is {}", context.get_current_time()); }); Ok(()) }) .unwrap(); }