MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / a

Function a

13_async/rust/std_async/src/main.rs:5–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3use futures::FutureExt as BoxedExt;
4
5async fn a() -> u8 {
6 println!("Hello ...");
7 async_std::task::sleep(std::time::Duration::from_secs(3)).await;
8 println!("waited");
9 1u8
10}
11
12async fn b() -> u8 {
13 println!("... World!");

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected