FiberScheduler.this

this() @safe nothrow

Create a standalone scheduler (no EventLoop integration).

this(ref EventLoop loop) @trusted nothrow

Create a scheduler that borrows an EventLoop.

The scheduler stores a pointer to the loop but does not own it. Call attachToLoop() to register a check-phase watcher.

Parameters

loopEventLoop to borrow. Must outlive the scheduler. Thread_Affinity: Must be called from the loop thread.