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

Function done

test/parallel/test-http-server-keep-alive-timeout.js:21–24  ·  view source on GitHub ↗
(server, socket, cb)

Source from the content-addressed store, hash-verified

19}
20
21function done(server, socket, cb) {
22 socket.destroy();
23 server.close(cb);
24}
25
26function serverTest(withPipeline, cb) {
27 let gotAll = false;

Callers 1

serverTestFunction · 0.70

Calls 2

closeMethod · 0.65
destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…