MCPcopy
hub / github.com/openstf/stf / maybeNext

Function maybeNext

lib/util/requtil.js:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

doneFunction · 0.85
requtil.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected