The OpenD Programming Language

SchedulableTaskController

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(...);
}
version(HasThread)
struct SchedulableTaskController {}

Members

Functions

opCast
bool opCast()
yieldUntilReadable
void yieldUntilReadable(NativeFileHandle handle)

Meta

History

Added August 11, 2023 (dub v11.1)