zephyr::kio

Function yield_now

Source
pub fn yield_now() -> impl Future<Output = ()>
Expand description

Yield the current thread, returning it to the work queue to be run after other work on that queue. (This has to be called yield_now in Rust, because yield is a keyword.)