MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / requestAnimationFrame

Function requestAnimationFrame

src/lib/libeventloop.js:304–310  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

302 },
303
304 requestAnimationFrame(func) {
305 if (globalThis.requestAnimationFrame) {
306 requestAnimationFrame(func);
307 } else {
308 MainLoop.fakeRequestAnimationFrame(func);
309 }
310 },
311 },
312
313 emscripten_get_main_loop_timing__deps: ['$MainLoop'],

Callers 2

libhtml5.jsFile · 0.85
tickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected