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

Function done

integrations/tests/tests/dynamic-scroll.spec.tsx:48–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 for (let index = 0; index < 40; index++) {
47 await new Promise<void>((resolve) => {
48 const done = () => {
49 cancelAnimationFrame(animationFrameId);
50 clearTimeout(timeoutId);
51 resolve();
52 };
53 const animationFrameId = requestFrame(done);
54 const timeoutId = setTimeout(done, 50);
55 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected