Enum CoStatus

This enum describes the state of a Coroutine.

A Coroutine is done if the function it wraps has returned. It's failed if an exception has been raised. A Coroutine that is running is executing. Finally, a Coroutine that is waiting is ready to be resumed. A Coroutine that has just been made, or has yielded is waiting.

Variants

Done

Failed

Running

Waiting