Optional connectOptions: ConnectOptionsStatic Readonly EVENT_Static Readonly EVENT_Static Readonly EVENT_Static Readonly EVENT_Static Readonly EVENT_Static Readonly EVENT_Static Readonly EVENT_Static Readonly EVENT_Static Readonly LOGIN_Static Readonly LOGIN_the type of the data that the event will provide
the name of the event to listen for
a function to call when the event occurs
Returns a cleanup function.
Listen for events on this object.