Epok Engine

PSYQO SDK

psyqo::Coroutine::ChainAwaiter::ChainAwaiter

constructor · 3 overloads

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

constructor

Constructs `psyqo::Coroutine::ChainAwaiter` for the coroutine module.

Belongs to
psyqo::Coroutine::ChainAwaiter
Header
coroutine.hh
Overloads
3

Declaration 1 of 3

Declaration
ChainAwaiter(ChainAwaiter &&other) : handl

Constructs `psyqo::Coroutine::ChainAwaiter` for the coroutine module.

ParameterTypeMeaning
otherChainAwaiter &&Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

// Assume these named values have been initialized with valid data:
// ChainAwaiter && other

psyqo::Coroutine::ChainAwaiter value(other);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/coroutine.hh:251

Declaration 2 of 3

Declaration
ChainAwaiter(const ChainAwaiter &) = delete

Constructs `psyqo::Coroutine::ChainAwaiter` for the coroutine module.

ParameterTypeMeaning
arg1const ChainAwaiter &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

// Assume these named values have been initialized with valid data:
// const ChainAwaiter & arg1

psyqo::Coroutine::ChainAwaiter value(arg1);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/coroutine.hh:253

Declaration 3 of 3

Declaration
explicit ChainAwaiter(std::coroutine_handle<Promise> h) : handl

Constructs `psyqo::Coroutine::ChainAwaiter` for the coroutine module.

ParameterTypeMeaning
hstd::coroutine_handle<Promise>Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

// Assume these named values have been initialized with valid data:
// std::coroutine_handle<Promise> h

psyqo::Coroutine::ChainAwaiter value(h);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/coroutine.hh:246

Related members