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

◆ set_auto_resume()

void MayaFlux::Vruta::SoundRoutine::set_auto_resume ( bool  auto_resume)
inlineoverridevirtual

Set auto_resume flag in promise.

Parameters
auto_resumeWhether the coroutine should be automatically resumed

Implements MayaFlux::Vruta::Routine.

Definition at line 405 of file Routine.hpp.

406 {
407 m_handle.promise().auto_resume = auto_resume;
408 }
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:460