Epok Engine

PSYQO SDK

Coroutine

coroutine.hh · the coroutine module

Module

the coroutine module.

Header
coroutine.hh
Include
#include "psyqo/coroutine.hh"
Stability
Pinned PsyQo API

Include this module

C++ include
#include "psyqo/coroutine.hh"

Types

Functions and methods

~ChainAwaiterReleases the resources owned by `psyqo::Coroutine::ChainAwaiter`.destructor~Coroutine<T>Releases the resources owned by `psyqo::Coroutine`.destructorawait_readyPerforms `await ready` as part of the coroutine module.Methodawait_readyPerforms `await ready` as part of the coroutine module.Methodawait_resumePerforms `await resume` as part of the coroutine module.Methodawait_resumePerforms `await resume` as part of the coroutine module.Methodawait_suspendPerforms `await suspend` as part of the coroutine module.Methodawait_suspendPerforms `await suspend` as part of the coroutine module.MethodawaiterCreates an `Awaiter` object.MethodAwaiterConstructs `psyqo::Coroutine::Awaiter` for the coroutine module.constructorChainAwaiterConstructs `psyqo::Coroutine::ChainAwaiter` for the coroutine module.constructorCoroutine<T>Constructs `psyqo::Coroutine` for the coroutine module.constructordoneReturns the status of the coroutine.MethodinitializeInitialize the coroutine with a function and an argument.MethodisAliveCheck if the coroutine is currently alive.Methodoperator co_awaitPerforms `operator co await` as part of the coroutine module.Methodoperator=Performs `operator =` as part of the coroutine module.Methodoperator=Performs `operator =` as part of the coroutine module.Methodoperator=Performs `operator =` as part of the coroutine module.Methodoperator=Performs `operator =` as part of the coroutine module.MethodresumeResumes the coroutine.MethodresumeResume the coroutine.MethodStackful<StackSize>Constructs `psyqo::Stackful` for the coroutine module.constructorvalueReturns the value returned by the coroutine.MethodyieldYield the coroutine.Method

Fields, variables and values