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

◆ active_delay_context

DelayContext MayaFlux::Vruta::graphics_promise::active_delay_context = DelayContext::NONE

The active delay context for this coroutine.

This value indicates which type of delay (frame, event, etc.) is currently being awaited by the coroutine. It helps the scheduler determine how to manage the coroutine's timing and prevents cross-domain contamination (e.g., audio delays don't affect graphics routines).

Valid states for graphics routines:

  • NONE: No active delay, can resume immediately
  • FRAME_BASED: Waiting for a specific frame (FrameDelay)
  • EVENT_BASED: Waiting for a window/input event (EventAwaiter)
  • AWAIT: Temporary state during GetPromise awaiter

Definition at line 309 of file Promise.hpp.