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

◆ own()

void MayaFlux::Vruta::event_promise::own ( std::shared_ptr< Vruta::NetworkSource >  source)
inline

Transfer ownership of a NetworkSource to this coroutine frame.

Parameters
sourceSource to keep alive for the coroutine's lifetime.

Definition at line 527 of file Promise.hpp.

528 {
529 owned_sources.push_back(std::move(source));
530 }
std::vector< std::shared_ptr< Vruta::NetworkSource > > owned_sources
Coroutine-owned NetworkSource instances.
Definition Promise.hpp:539

Referenced by MayaFlux::Kriya::GetEventPromise::await_resume().

+ Here is the caller graph for this function: