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

Function then

test/sequential/test-http-keepalive-maxsockets.js:74–79  ·  view source on GitHub ↗
(er)

Source from the content-addressed store, hash-verified

72 makeReq(i, then);
73
74 function then(er) {
75 if (er)
76 return cb(er);
77 else if (--n === 0)
78 setTimeout(cb, 100);
79 }
80 }
81
82 function makeReq(i, cb) {

Callers

nothing calls this directly

Calls 2

cbFunction · 0.70
setTimeoutFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…