Yields once to the event loop / next animation frame so the browser can
paint and handle input. Prefer this inside hot loops (time-gated via
AcCmUiYieldGate).
Uses a single requestAnimationFrame when available (not a double-rAF),
falling back to setTimeout(0).
Returns Promise<void>
Promise that resolves after one frame (or next timer tick).
Yields once to the event loop / next animation frame so the browser can paint and handle input. Prefer this inside hot loops (time-gated via AcCmUiYieldGate).
Uses a single
requestAnimationFramewhen available (not a double-rAF), falling back tosetTimeout(0).