MCPcopy
hub / github.com/ReactTooltip/react-tooltip / nextFrame

Function nextFrame

benchmarks/fixture/app.tsx:70–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70function nextFrame() {
71 return new Promise<void>((resolve) => {
72 window.requestAnimationFrame(() => resolve())
73 })
74}
75
76async function collectGarbage() {
77 if (typeof window.gc === 'function') {

Callers 3

collectGarbageFunction · 0.85
waitUntilFunction · 0.85
runScalingBenchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…