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

Function next

test/parallel/test-http-same-map.js:19–23  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

17onrequest.responses = [];
18
19function next(n) {
20 const { address: host, port } = server.address();
21 const req = http.get({ host, port });
22 req.once('response', (res) => onresponse(n, req, res));
23}
24
25function onresponse(n, req, res) {
26 res.resume();

Callers 15

addKeyIntervalTestFunction · 0.70
runTestFunction · 0.70
writeFunction · 0.70
onSessionFunction · 0.70
onresponseFunction · 0.70
runTestFunction · 0.70
testFunction · 0.70

Calls 4

onresponseFunction · 0.70
addressMethod · 0.65
getMethod · 0.65
onceMethod · 0.45

Tested by 2

testFunction · 0.56
testFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…