|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Vruta::Event MayaFlux::Kriya::on_message | ( | std::shared_ptr< Vruta::NetworkSource > | source, |
| std::function< void(const Core::NetworkMessage &)> | callback | ||
| ) |
Creates an Event coroutine that fires on every message received by a source.
| source | Shared ownership of the NetworkSource; lifetime is tied to the coroutine frame |
| callback | Invoked with each received message |
Definition at line 10 of file NetworkEvents.cpp.
Referenced by MayaFlux::on_network_message().
Here is the caller graph for this function: