MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / invalidate

Function invalidate

graph-ui/src/system/useSystemPoll.ts:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 let inFlight = false;
27 const visible = () => active && document.visibilityState !== 'hidden';
28 const invalidate = () => {
29 generation += 1;
30 inFlight = false;
31 clearTimeout(timer);
32 };
33 const poll = async () => {
34 if (disposed || !visible() || inFlight) return;
35 clearTimeout(timer);

Callers 7

ScreenNodeSeparationFunction · 0.85
SceneLabelsFunction · 0.85
FitArchitectureFunction · 0.85
ScopeCameraFunction · 0.85
visibilityChangedFunction · 0.85
useSystemPollFunction · 0.85
EdgePulseLayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected