MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / attemptVertx

Function attemptVertx

libraries/p5.js:139–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137}
138
139function attemptVertx() {
140 try {
141 var r = _dereq_;
142 var vertx = r('vertx');
143 vertxNext = vertx.runOnLoop || vertx.runOnContext;
144 return useVertxTimer();
145 } catch (e) {
146 return useSetTimeout();
147 }
148}
149
150var scheduleFlush = undefined;
151// Decide what async method to use to triggering processing of queued callbacks:

Callers 1

p5.jsFile · 0.85

Calls 2

useVertxTimerFunction · 0.85
useSetTimeoutFunction · 0.85

Tested by

no test coverage detected