feat: add async study
This commit is contained in:
8
__concurrent/async_study/examples/async.rs
Normal file
8
__concurrent/async_study/examples/async.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
invoke().await
|
||||
}
|
||||
|
||||
async fn invoke() {
|
||||
println!("Hello World!");
|
||||
}
|
||||
Reference in New Issue
Block a user