MCPcopy
hub / github.com/vercel/next.js / handler

Function handler

examples/with-zustand/src/lib/useInterval.ts:16–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15 useEffect(() => {
16 const handler = () => savedCallback.current?.();
17
18 if (delay !== null) {
19 const id = setInterval(handler, delay);

Callers

nothing calls this directly

Calls 1

currentMethod · 0.80

Tested by

no test coverage detected