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

Function done

benchmark/tls/throughput-c2s.js:63–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 }
62
63 function done() {
64 const mbits = (received * 8) / (1024 * 1024);
65 bench.end(mbits);
66 if (conn)
67 conn.destroy();
68 server.close();
69 }
70}

Callers

nothing calls this directly

Calls 3

closeMethod · 0.65
endMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…