Skip to content

cf_coroutine_resume

Category: coroutine
GitHub: cute_coroutine.h


Resumes the coroutine.

CF_Result cf_coroutine_resume(CF_Coroutine co);
Parameters Description
co The coroutine.
return Returns info on any errors as CF_Result.

Remarks

Coroutines are functions that can be paused with cf_coroutine_yield and resumed with cf_coroutine_resume. See CF_Coroutine for more details.

CF_Coroutine
CF_CoroutineFn
CF_CoroutineState
cf_make_coroutine
cf_destroy_coroutine
cf_coroutine_state_to_string
cf_coroutine_currently_running
cf_coroutine_yield
cf_coroutine_state
cf_coroutine_get_udata
cf_coroutine_push
cf_coroutine_pop
cf_coroutine_bytes_pushed
cf_coroutine_space_remaining