TaskScheduler.switchTo

Immediately switches execution to the specified task without giving up execution privilege.

This forces immediate execution of the specified task. After the tasks finishes or yields, the calling task will continue execution.

struct TaskScheduler
@safe nothrow
void
switchTo

Meta