MCPcopy Create free account
hub / github.com/bytecodealliance/wstd / just_sleep

Function just_sleep

tests/sleep.rs:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5#[wstd::test]
6async fn just_sleep() -> Result<(), Box<dyn Error>> {
7 sleep(Duration::from_secs(1)).await;
8 Ok(())
9}

Callers

nothing calls this directly

Calls 1

sleepFunction · 0.85

Tested by

no test coverage detected