Structs

JoinHandle provides method to retrieve result of associated cooperative task.

Resumption provides method to resume suspending coroutine.

Suspension provides method to suspend calling coroutine.

Functions

Spawns a cooperative task and returns a JoinHandle for it.

Constructs cooperative facilities to suspend and resume coroutine in current task.

Yields coroutine for next scheduling cycle.