The "accept" event is fired when a new TCP client connection
has been established. Use the fd
property to determine
which file descriptor to read / write to interact with this
socket.
Optional
options: boolean | AddEventListenerOptionsOptional
options: boolean | AddEventListenerOptionsDispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault()
method was not invoked, and false otherwise.
Removes the event listener in target's event listener list with the same type, callback, and options.
Optional
options: boolean | EventListenerOptionsGenerated using TypeDoc
EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
See
https://developer.mozilla.org/docs/Web/API/EventTarget