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

◆ set_should_terminate()

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

609 {
610 m_handle.promise().should_terminate = should_terminate;
611 }
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:643