Scoop API

scoop:scoop.concurrent:0.1.0

CoroutineWorkerDriver

interface CoroutineWorkerDriver

source · line 4
public
public interface CoroutineWorkerDriver

Connects an owned I/O reactor to one coroutine worker without a second scheduler.

function poll

source · line 8
public
public fun poll(): Unit

Advances ready events without blocking; called between finite batches of tasks.

function enter

source · line 6
public
public fun enter(): Unit

Enters the worker's physical thread before it starts executing tasks.

function wake

source · line 12
public
public fun wake(): Unit

Interrupts a concurrent or subsequent park; may race with close.

function park

source · line 10
public
public fun park(): Unit

Waits for events or a persistent wake notification after the scheduler rechecks work.

function close

source · line 14
public
public fun close(): Unit

Drains owned events on the worker after all accepted coroutine work has finished.