[−][src]Function yaar::task::yield_now
pub fn yield_now(priority: Priority) -> impl Future
Returns a future which can be used to yield the current future to the executor in order to let another task run.
Takes in a Priority
to potentially influence
the re-scheduling of the current future task.