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

Function timer_now

src/time/mod.rs:126–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124
125 #[test]
126 fn timer_now() {
127 crate::runtime::block_on(debug_duration("timer_now", async {
128 Timer::at(Instant::now()).wait().await
129 }));
130 }
131
132 #[test]
133 fn timer_after_100_milliseconds() {

Callers

nothing calls this directly

Calls 3

block_onFunction · 0.85
debug_durationFunction · 0.85
waitMethod · 0.80

Tested by

no test coverage detected