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

◆ set_should_terminate()

virtual void MayaFlux::Vruta::Event::set_should_terminate ( bool  should_terminate)
inlinevirtual

Set should_terminate flag in promise.

Parameters
should_terminateWhether the coroutine should be terminated

Definition at line 123 of file Event.hpp.

124 {
125 m_handle.promise().should_terminate = should_terminate;
126 }
std::coroutine_handle< promise_type > m_handle
Definition Event.hpp:225