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

◆ await_suspend()

void MayaFlux::Kriya::WindowEventAwaiter::await_suspend ( std::coroutine_handle<>  handle)

Registers with the source and suspends the coroutine.

Parameters
handleType-erased coroutine handle.

Definition at line 20 of file EventAwaiter.cpp.

21{
22 m_handle = handle;
23 m_is_suspended = true;
25}
std::coroutine_handle m_handle
Vruta::WindowEventSource & m_source
void register_waiter(Kriya::EventAwaiter *awaiter)

References MayaFlux::Kriya::EventAwaiter::m_handle, MayaFlux::Kriya::EventAwaiter::m_is_suspended, m_source, and MayaFlux::Vruta::EventSource::register_waiter().

+ Here is the call graph for this function: