MCPcopy Index your code
hub / github.com/nodejs/node / next

Function next

test/internet/test-dns-ipv6.js:17–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16function test(f) {
17 function next() {
18 const f = queue.shift();
19 if (f) {
20 running = true;
21 console.log(f.name);
22 f(done)?.then(common.mustCall());
23 }
24 }
25
26 function done() {
27 running = false;

Callers 1

testFunction · 0.70

Calls 4

fFunction · 0.50
shiftMethod · 0.45
logMethod · 0.45
thenMethod · 0.45

Tested by 1

testFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…