MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / wake

Method wake

crates/guest-rust/src/rt/async_support.rs:391–393  ·  view source on GitHub ↗
(self: Arc<Self>)

Source from the content-addressed store, hash-verified

389
390impl Wake for FutureWaker {
391 fn wake(self: Arc<Self>) {
392 Self::wake_by_ref(&self)
393 }
394
395 fn wake_by_ref(self: &Arc<Self>) {
396 match self.sleep_state.swap(SLEEP_STATE_WOKEN, Ordering::Relaxed) {

Callers 1

wake_by_refMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected