Function sleep::sleep_until
source · Expand description
Blocks the current task by putting it to sleep until a specific tick count is reached,
given by resume_time
.
Returns the current task’s run state if it can’t be blocked.
Blocks the current task by putting it to sleep until a specific tick count is reached,
given by resume_time
.
Returns the current task’s run state if it can’t be blocked.