()
| 41 | |
| 42 | function test(f) { |
| 43 | function next() { |
| 44 | const f = queue.shift(); |
| 45 | if (f) { |
| 46 | running = true; |
| 47 | console.log(f.name); |
| 48 | f(done)?.then(common.mustCall()); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | function done() { |
| 53 | running = false; |
searching dependent graphs…