Class
DexCoroutine
Description [src]
final class Dex.Coroutine : GObject.TypeInstance
{
/* No available fields */
}
DexCoroutine is a DexFuture implemented as a stateful stackless
coroutine cooperatively scheduled on a DexScheduler.
Each coroutine stores stackless suspension state and optionally accepts user
data via user_data.
Use user data passed at spawn time for stateful data.
Cancellation keeps user data alive until pending work completes. The destroy callback runs on the coroutine’s scheduler thread and must not block.