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

Function onconnect

test/async-hooks/test-writewrap.js:58–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58function onconnect() {
59 //
60 // Client connected to server
61 //
62 checkDestroyedWriteWraps(0, 'client connected');
63
64 this.once('data', common.mustCall(ondata));
65}
66
67function ondata() {
68 //

Callers

nothing calls this directly

Calls 2

checkDestroyedWriteWrapsFunction · 0.85
onceMethod · 0.45

Tested by

no test coverage detected