FiberScheduler.unpark

void unpark(size_t taskId) @safe nothrow

Unpark a previously parked task.

Transitions the task from WAITING to READY and enqueues it for execution on the next tick().

This is typically called from an I/O callback (onData, onConnect, etc.) to resume a fiber that is waiting for an async operation to complete.

Parameters

taskIdThe ID of the task to unpark, obtained from currentTask before the fiber yielded. Thread_Affinity: Must be called from the loop thread (e.g.\ from an EVE callback). Do not call from another thread; use EventLoop.post() to marshal the call.