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

◆ set_auto_resume()

void MayaFlux::Vruta::FreeRoutine::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 782 of file Routine.hpp.

783 {
784 if (m_handle)
785 m_handle.promise().auto_resume = v;
786 }
std::coroutine_handle< promise_type > m_handle
Definition Routine.hpp:811