()
| 33 | |
| 34 | /* eslint no-use-before-define: 0 */ |
| 35 | function maybeNext() { |
| 36 | while (running < limit && queue.length) { |
| 37 | running += 1 |
| 38 | handler.apply(null, queue.shift()).finally(done) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | function done() { |
| 43 | running -= 1 |
no outgoing calls
no test coverage detected