CF_CoroutineState¶
Category: coroutine
GitHub: cute_coroutine.h
The states of a coroutine.
Values¶
Enum | Description |
---|---|
COROUTINE_STATE_DEAD | The coroutine has stopped running entirely. |
COROUTINE_STATE_ACTIVE_AND_RUNNING | The coroutine is not dead, and currently running. |
COROUTINE_STATE_ACTIVE_BUT_RESUMED_ANOTHER | The coroutine is not dead, but has called cf_coroutine_resume on another coroutine. |
COROUTINE_STATE_SUSPENDED | The coroutine is not dead, but is not active since it called cf_coroutine_yield. |