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

◆ deliver()

void MayaFlux::Kriya::NetworkAwaiter::deliver ( const Core::NetworkMessage message)

Called by NetworkSource::signal() with the incoming message.

Stores the message directly, unregisters from the waiter list, and resumes the suspended coroutine. Each awaiter gets its own copy — no queue pop, no contention with other waiters.

Definition at line 42 of file NetworkAwaiter.cpp.

43{
44 m_result = message;
45 m_is_suspended = false;
46 m_handle.resume();
47}

References m_handle, m_is_suspended, and m_result.