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

Function visible

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

Source from the content-addressed store, hash-verified

25 let timer: ReturnType<typeof setTimeout> | undefined;
26 let inFlight = false;
27 const visible = () => active && document.visibilityState !== 'hidden';
28 const invalidate = () => {
29 generation += 1;
30 inFlight = false;

Callers 3

pollFunction · 0.70
visibilityChangedFunction · 0.70
useSystemPollFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected