()
| 98 | const listenersRef = useRef(new Set<() => void>()); |
| 99 | const renderQueuedRef = useRef(false); |
| 100 | const notify = () => { |
| 101 | for (const l of listenersRef.current) l(); |
| 102 | }; |
| 103 | function scrollMutated(el: DOMElement): void { |
| 104 | // Signal background intervals (IDE poll, LSP poll, GCS fetch, orphan |
| 105 | // check) to skip their next tick — they compete for the event loop and |
no test coverage detected