constSPAWNER_SIZE:usize=4;// Must be a power of two, e.g., 2, 4, 8, 16, etc.
fnmain(){// create a spawner with the specified size
let spawner:ato::Spawner<SPAWNER_SIZE>=ato::Spawner::default();// create a simple task that prints a message
ato::spawn_task!(spawner, res,{println!("Hello, World!");});
res.unwrap();// run until all tasks are done running
spawner.run_until_all_done().unwrap();}