hello_world/
hello_world.rs1use avx_async::{Runtime, sleep};
2use std::time::Duration;
3
4fn main() {
5 let rt = Runtime::new();
6
7 rt.block_on(async {
8 println!("Hello from avx Async!");
9
10 sleep(Duration::from_secs(1)).await;
11
12 println!("One second later...");
13 });
14}
15
16
17
18
19