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

Function scheduleRestore

packages/shared/src/lib/scrollRestoration.ts:111–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109 };
110
111 const scheduleRestore = () => {
112 cancelAnimationFrame(frame);
113 frame = requestAnimationFrame(restore);
114 };
115
116 activeRestoration = stop;
117 timeout = window.setTimeout(stop, RESTORE_TIMEOUT_MS);

Callers 1

restoreScrollPositionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected