Function inSchedulableTask
Gets an object that lets you control a schedulable task (which is a specialization of a fiber) and can be used in an if statement.
if(auto controller = inSchedulableTask()) {
controller .yieldUntilReadable(...);
}
History
Added August 11, 2023 (dub v11.1)