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

Function socketOptions

test/parallel/test-net-connect-abort-controller.js:13–13  ·  view source on GitHub ↗
(signal)

Source from the content-addressed store, hash-verified

11 const port = server.address().port;
12 const host = 'localhost';
13 const socketOptions = (signal) => ({ port, host, signal });
14 server.on('connection', (connection) => {
15 liveConnections.add(connection);
16 connection.on('close', () => {

Callers 6

postAbortFunction · 0.85
preAbortFunction · 0.85
tickAbortFunction · 0.85
testConstructorFunction · 0.85
testConstructorPostFunction · 0.85
testConstructorPostTickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…