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

Function getAll

test/parallel/test-gc-http-client-connaborted.js:27–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}));
26
27function getAll() {
28 if (!createClients)
29 return;
30
31 const req = http.get({
32 hostname: 'localhost',
33 pathname: '/',
34 port: server.address().port
35 }, cb).on('error', cb);
36
37 count++;
38 onGC(req, { ongc });
39
40 setImmediate(getAll);
41}
42
43function cb(res) {
44 done += 1;

Calls 5

onGCFunction · 0.85
getMethod · 0.65
addressMethod · 0.65
setImmediateFunction · 0.50
onMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…