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

Function runIter

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

Source from the content-addressed store, hash-verified

270 },
271
272 runIter(func) {
273 if (ABORT) return;
274 for (var pre of MainLoop.preMainLoop) {
275 if (pre() === false) {
276 return; // |return false| skips a frame
277 }
278 }
279 callUserCallback(func);
280 for (var post of MainLoop.postMainLoop) {
281 post();
282 }
283#if STACK_OVERFLOW_CHECK
284 checkStackCookie();
285#endif
286 },
287
288 nextRAF: 0,
289

Callers

nothing calls this directly

Calls 2

postFunction · 0.85
checkStackCookieFunction · 0.50

Tested by

no test coverage detected