MCPcopy 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
89pin_project! {

Callers 6

sleepFunction · 0.80
sleep_untilFunction · 0.80
cooperative_concurrencyFunction · 0.80
nextMethod · 0.80
timer_nowFunction · 0.80

Calls

no outgoing calls

Tested by 3

cooperative_concurrencyFunction · 0.64
timer_nowFunction · 0.64