MayaFlux 0.4.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 485 of file Promise.hpp.

486 {
487 owned_sources.push_back(std::move(source));
488 }
std::vector< std::shared_ptr< Vruta::NetworkSource > > owned_sources
Coroutine-owned NetworkSource instances.
Definition Promise.hpp:497

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

+ Here is the caller graph for this function: