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

◆ get_processing_token()

ProcessingToken MayaFlux::Vruta::SoundRoutine::get_processing_token ( ) const
overridevirtual

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

Returns
The processing token indicating the scheduling domain

Implements MayaFlux::Vruta::Routine.

Definition at line 71 of file Routine.cpp.

72{
73 if (!m_handle) {
75 }
76 return m_handle.promise().processing_token;
77}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:460
@ ON_DEMAND
Coroutine is executed on demand, not scheduled.

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