MayaFlux 0.1.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 64 of file Event.cpp.

65{
66 if (!m_handle) {
68 }
69 return m_handle.promise().processing_token;
70}
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.