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

Method into_future

src/time/duration.rs:160–162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 type IntoFuture = Wait;
159
160 fn into_future(self) -> Self::IntoFuture {
161 crate::task::sleep(self)
162 }
163}
164
165#[cfg(test)]

Callers

nothing calls this directly

Calls 1

sleepFunction · 0.85

Tested by

no test coverage detected