DriverCore.yieldAndResumeTask

Yields the current task and resumes another one.

This is the same as resumeTask, but also works from within a task. If called from a task, that task will be yielded first before resuming the other one.

interface DriverCore
@safe @safe
void
yieldAndResumeTask
(
Task task
,
Exception event_exception = null
)

Throws

May throw an InterruptException if the calling task gets interrupted using Task.interrupt().

See Also

Meta