Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wstd
/ sleep_until
Function
sleep_until
src/task.rs:11–13 ·
view source on GitHub ↗
Sleeps until the specified instant.
(deadline: Instant)
Source
from the content-addressed store, hash-verified
9
10
/// Sleeps until the specified instant.
11
pub fn sleep_until(deadline: Instant) -> Wait {
12
Timer::at(deadline).wait()
13
}
Callers
1
into_future
Method · 0.85
Calls
1
wait
Method · 0.80
Tested by
no test coverage detected