Function itron_asp3::task::sleep[][src]

pub fn sleep() -> Result<(), Error<SleepError>>
This is supported on crate feature unstable only.
Expand description

slp_tsk: Put the current task to sleep.

The TaskRef::wake method and this function are semantically analogous to std::thread::Thread::unpark and std::thread::park, respectively.