Optional connectionListener: ((socket) => void)Optional options: { Optional allowOptional pauseOptional connectionListener: ((socket) => void)Static Readonly captureStatic captureStatic defaultStatic Readonly errorThis symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error' listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error' event is emitted, therefore the process will still crash if no
regular 'error' listener is installed.
events.EventEmitter
Rest ...args: any[]Rest ...args: any[]Optional port: numberOptional hostname: stringOptional backlog: numberOptional listeningListener: (() => void)Optional port: numberOptional hostname: stringOptional listeningListener: (() => void)Optional port: numberOptional backlog: numberOptional listeningListener: (() => void)Optional port: numberOptional listeningListener: (() => void)Optional backlog: numberOptional listeningListener: (() => void)Optional listeningListener: (() => void)Optional listeningListener: (() => void)Optional backlog: numberOptional listeningListener: (() => void)Optional listeningListener: (() => void)Rest ...args: any[]Rest ...args: any[]Rest ...args: any[]Rest ...args: any[]Static listenerStatic onStatic once
Sets or gets the default captureRejection value for all emitters.