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

◆ get_processing_token()

ProcessingToken MayaFlux::Vruta::Event::get_processing_token ( ) const
virtual

Get the processing token that determines how this routine should be scheduled.

Returns
The processing token indicating the scheduling domain

Definition at line 67 of file Event.cpp.

68{
69 if (!m_handle) {
71 }
72 return m_handle.promise().processing_token;
73}
std::coroutine_handle< promise_type > m_handle
Definition Event.hpp:225
@ ON_DEMAND
Coroutine is executed on demand, not scheduled.

References m_handle, and MayaFlux::Vruta::ON_DEMAND.