MayaFlux 1.0.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 808 of file Routine.hpp.

809 {
810 if (m_handle)
811 m_handle.promise().auto_resume = v;
812 }
std::coroutine_handle< promise_type > m_handle
Definition Routine.hpp:843