overlaySyncDom top-level constant

OpaqueToken<bool> const overlaySyncDom

Flag whether to use synchronous reads/writes instead of async.

The reason for this is that overlays are already in a position:absolute layer in the DOM, and waiting for the next frame makes less sense and causes latency issues.

Implementation

const overlaySyncDom = OpaqueToken<bool>('overlaySyncDom');