()
| 137 | } |
| 138 | |
| 139 | function 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 | |
| 150 | var scheduleFlush = undefined; |
| 151 | // Decide what async method to use to triggering processing of queued callbacks: |
no test coverage detected