Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wstd
/ wait
Method
wait
src/time/mod.rs:83–86 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
81
*self = Self::after(duration);
82
}
83
pub fn wait(&self) -> Wait {
84
let wait_for = self.0.as_ref().map(AsyncPollable::wait_for);
85
Wait { wait_for }
86
}
87
}
88
89
pin_project! {
Callers
6
sleep
Function · 0.80
sleep_until
Function · 0.80
cooperative_concurrency
Function · 0.80
next
Method · 0.80
timer_now
Function · 0.80
timer_after_100_milliseconds
Function · 0.80
Calls
no outgoing calls
Tested by
3
cooperative_concurrency
Function · 0.64
timer_now
Function · 0.64
timer_after_100_milliseconds
Function · 0.64