interface CoroutineWorkerDriver
source · line 4public
public interface CoroutineWorkerDriver
Connects an owned I/O reactor to one coroutine worker without a second scheduler.
function poll
source · line 8public
public fun poll(): Unit
Advances ready events without blocking; called between finite batches of tasks.
function enter
source · line 6public
public fun enter(): Unit
Enters the worker's physical thread before it starts executing tasks.
function wake
source · line 12public
public fun wake(): Unit
Interrupts a concurrent or subsequent park; may race with close.
function park
source · line 10public
public fun park(): Unit
Waits for events or a persistent wake notification after the scheduler rechecks work.
function close
source · line 14public
public fun close(): Unit
Drains owned events on the worker after all accepted coroutine work has finished.