(func)
| 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 |
nothing calls this directly
no test coverage detected