CUSTOM_LISTENER_TYPES in connection-tcp.ts includes an event type disconnect.
This event doesn't seem to ever be called. I'm not sure what the intention behind the event was but I suspect it might not be actually needed as the socket's close event can be used instead.
CUSTOM_LISTENER_TYPESinconnection-tcp.tsincludes an event typedisconnect.This event doesn't seem to ever be called. I'm not sure what the intention behind the event was but I suspect it might not be actually needed as the socket's
closeevent can be used instead.