MCPcopy Create free account
hub / github.com/dailydotdev/apps / stopTimer

Function stopTimer

packages/shared/src/features/monetization/useViewability.ts:58–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 let timeout: ReturnType<typeof setTimeout> | undefined;
57
58 const stopTimer = () => {
59 globalThis.clearTimeout(timeout);
60 timeout = undefined;
61 };
62
63 const reportViewable = (met: ViewabilityCriteria) => {
64 stopTimer();

Callers 3

reportViewableFunction · 0.70
evaluateFunction · 0.70
useViewabilityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected