MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ await_suspend()

template<typename PromiseType >
void MayaFlux::Kriya::GetPromiseBase< PromiseType >::await_suspend ( std::coroutine_handle< promise_handle h)
inlinenoexcept

Definition at line 37 of file GetPromise.hpp.

38 {
39 promise_ptr = &h.promise();
40 h.promise().active_delay_context = Vruta::DelayContext::AWAIT;
41 }
@ AWAIT
Awaiter-induced delay (temporary suspension)
promise_handle * promise_ptr
Pointer to store the promise object.