Coroutine

constructor(state: State, chunk: Chunk.Instance, args: List<Value>)

Parameters

state

The parent state of the coroutine.

chunk

The chunk to run.

args

The arguments to pass to the chunk.