Function yieldToEventLoop

  • Resolves in a macrotask, letting the event loop breathe so browsers can repaint progress UI and timers (e.g. stall watchdogs) can fire. Used by the *Async load variants between progress ticks.

    Returns Promise<void>

    A promise resolved on the next timer turn.