Suspends the execution of the calling task to let other tasks and events be handled.
Calling this function in short intervals is recommended if long CPU computations are carried out by a task. It can also be used in conjunction with Signals to implement cross-fiber events with no polling.
void yield() @safe;
May throw an
Task gets called on
the calling task.
© 2012-2016 RejectedSoftware e.K.
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.