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

Function isNetServer

test/parallel/test-diagnostics-channel-net.js:9–9  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

7
8const isNetSocket = (socket) => socket instanceof net.Socket;
9const isNetServer = (server) => server instanceof net.Server;
10
11function testDiagnosticChannel(subscribers, test, after) {
12 dc.tracingChannel('net.server.listen').subscribe(subscribers);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected