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

Function close

test/sequential/test-inspector-open-dispose.mjs:56–59  ·  view source on GitHub ↗
(self, err)

Source from the content-addressed store, hash-verified

54 .on('error', function(err) { close(this, err); });
55
56 function close(self, err) {
57 self.end();
58 self.on('close', () => callback(err));
59 }
60}
61
62async function beChild() {

Callers 1

pingFunction · 0.70

Calls 3

callbackFunction · 0.50
endMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…