1 2 3 4 5 6 7 8 9
use lustre_executor::prelude::*; fn main() { let mut executor = Executor::new().unwrap(); executor.spawn(Task::new(async { println!("Hello from an async task!"); })); executor.run(); }