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

Function ping

test/pummel/test-http-upload-timeout.js:59–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 });
58
59 function ping() {
60 if (++count === 10) {
61 request.end();
62 return;
63 }
64 request.write('ping');
65 setTimeout(ping, 300);
66 }
67 ping();
68 }, i * 50);
69 }

Callers 1

Calls 3

setTimeoutFunction · 0.50
endMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…