MCPcopy
hub / github.com/codeaashu/claude-code / notify

Function notify

src/ink/components/ScrollBox.tsx:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 4

setPendingHintFunction · 0.85
clearPendingHintFunction · 0.85
scrollMutatedFunction · 0.85
scrollToBottomFunction · 0.85

Calls 1

lClass · 0.85

Tested by

no test coverage detected