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

◆ set_should_terminate()

void MayaFlux::Vruta::SoundRoutine::set_should_terminate ( bool  should_terminate)
inlineoverridevirtual

Set should_terminate flag in promise.

Parameters
should_terminateWhether the coroutine should be terminated

Implements MayaFlux::Vruta::Routine.

Definition at line 415 of file Routine.hpp.

416 {
417 m_handle.promise().should_terminate = should_terminate;
418 }
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:460