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

Method next

src/time/mod.rs:60–62  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

58 type Item = Instant;
59
60 async fn next(&mut self) -> Option<Self::Item> {
61 Some(Timer::after(self.duration).wait().await)
62 }
63}
64
65#[derive(Debug)]

Callers 7

poll_nextMethod · 0.45
bumpFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
listFunction · 0.45

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected