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

◆ Event() [2/3]

MayaFlux::Vruta::Event::Event ( const Event other)

Copy constructor.

Parameters
otherEvent to copy

Creates a new Event that shares ownership of the same underlying coroutine. This allows multiple schedulers or containers to reference the same task.

Definition at line 18 of file Event.cpp.

19 : m_handle(nullptr)
20{
21 if (other.m_handle) {
22 m_handle = other.m_handle;
23 }
24}
std::coroutine_handle< promise_type > m_handle
Definition Event.hpp:225

References m_handle.