MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / stopPolling

Function stopPolling

src/components/WeeklyCalendar.tsx:49–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 };
48
49 const stopPolling = () => {
50 if (timerId !== null) {
51 clearInterval(timerId);
52 timerId = null;
53 }
54 };
55
56 const handleVisibilityChange = () => {
57 if (document.hidden) {

Callers 3

startPollingFunction · 0.85
handleVisibilityChangeFunction · 0.85
WeeklyCalendarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected