All functions

async() await()

Create an asynchronous task from sequential code.

awaitNext()

Wait for the next value from a channel or stream.

channel channel.function is.channel

An object representing a sequence of future values.

gather() as.promise(<channel>) collect() collector()

Collect iterator / channel items into a vector.

combine()

Combine several channels into one.

debugAsync()

Toggle single-step debugging for a coroutine.

delay()

Asynchronous pause.

format(<coroutine>) summary(<coroutine>) summary(<generator>) summary(<async>) summary(<stream>)

Query / display coroutine properties and state.

gen() yield() yieldFrom()

Create an iterator using sequential code.

graphAsync()

Draw a graph representation of a coroutine.

nextThen() subscribe()

Receive values from channels by callback.

pausables()

Pausable functions.

run()

Execute a generator expression immediately, collecting yielded values.

stream()

Create an asynchronous iterator by writing sequential code.

goto()

Coroutine switch with delimited goto.