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

Function onserverClosed

test/async-hooks/test-tlswrap.js:117–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115}
116
117function onserverClosed() {
118 //
119 // Server closed
120 //
121 tick(1E4, common.mustCall(() => {
122 checkInvocations(svr, { init: 1, before: 2, after: 2 },
123 'server: when server closed');
124 checkInvocations(client, { init: 1, before: 3, after: 3 },
125 'client: when server closed');
126 }));
127}
128
129process.on('exit', onexit);
130

Callers

nothing calls this directly

Calls 1

tickFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…