Function
DexCoroutineFunc
Description [src]
This function prototype is used for spawning stackless coroutines.
A coroutine function receives a DexCoroutineContext and optional user
data and returns the next future for completion.
If the function returns NULL to indicate suspension, it must have stashed the
currently awaited future in coroutine using the
DEX_COROUTINE_SUSPEND_* helpers.
Parameters
context-
Type:
DexCoroutineContextNo description available.
The data is owned by the caller of the function. user_data-
Type:
gpointerNo description available.
The argument can be NULL.The data is owned by the caller of the function.