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.
May throw an InterruptException if the calling task gets interrupted using Task.interrupt().
resumeTask
See Implementation
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.