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

◆ get_state_impl_raw()

void * MayaFlux::Vruta::CrossRoutine::get_state_impl_raw ( const std::string &  key)
overrideprotectedvirtual

Implements MayaFlux::Vruta::Routine.

Definition at line 561 of file Routine.cpp.

562{
563 if (!m_handle) {
564 return nullptr;
565 }
566 auto& state_map = m_handle.promise().state;
567 auto it = state_map.find(key);
568 if (it != state_map.end()) {
569 return &it->second;
570 }
571 return nullptr;
572}
std::coroutine_handle< promise_type > m_handle
Definition Routine.hpp:726

References m_handle.