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

◆ get_should_terminate()

bool MayaFlux::Vruta::FreeRoutine::get_should_terminate ( ) const
inlineoverridevirtual

Get should_terminate flag from promise.

Returns
True if coroutine should be terminated

Implements MayaFlux::Vruta::Routine.

Definition at line 788 of file Routine.hpp.

789 {
790 return m_handle ? m_handle.promise().should_terminate : true;
791 }
std::coroutine_handle< promise_type > m_handle
Definition Routine.hpp:811