MCPcopy Create free account
hub / github.com/bvaughn/react-window / done

Function done

integrations/tests/tests/settle.ts:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 const nextFrame = () =>
38 new Promise<void>((resolve) => {
39 const done = () => {
40 cancelAnimationFrame(animationFrameId);
41 clearTimeout(timeoutId);
42 resolve();
43 };
44 const animationFrameId = requestAnimationFrame(done);
45 const timeoutId = setTimeout(done, 50);
46 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected