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_Listen for events on this object.
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.
Removes an event listener added to this table.
Deprecated