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 367 of file Promise.hpp.

368 {
369 owned_sources.push_back(std::move(source));
370 }
std::vector< std::shared_ptr< Vruta::NetworkSource > > owned_sources
Coroutine-owned NetworkSource instances.
Definition Promise.hpp:379

References owned_sources.

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

+ Here is the caller graph for this function: