MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/openevolve / rafLoop

Function rafLoop

scripts/static/js/sidebar.js:107–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 // Continuous updating while sidebar transitions or when mouse moves near the edge
106 let rafId = null;
107 function rafLoop() {
108 updateResizerPosition();
109 rafId = requestAnimationFrame(rafLoop);
110 }
111 function startContinuousUpdate() {
112 if (!rafId) rafLoop();
113 }

Callers 1

startContinuousUpdateFunction · 0.85

Calls 1

updateResizerPositionFunction · 0.85

Tested by

no test coverage detected