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

Function tick

packages/shared/src/features/monetization/useVisibleTime.ts:77–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 };
76
77 const tick = () => {
78 report();
79 timer = setTimeout(tick, reportInterval);
80 };
81
82 const evaluate = () => {
83 const isVisible = meetsRatio && isPageInFocus();

Callers

nothing calls this directly

Calls 1

reportFunction · 0.70

Tested by

no test coverage detected