MayaFlux 1.0.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 574 of file Routine.cpp.

575{
576 if (!m_handle) {
577 return nullptr;
578 }
579 auto& state_map = m_handle.promise().state;
580 auto it = state_map.find(key);
581 if (it != state_map.end()) {
582 return &it->second;
583 }
584 return nullptr;
585}
std::coroutine_handle< promise_type > m_handle
Definition Routine.hpp:752

References m_handle.