Sends disconnect signal to remote server and stops internal tasks.
Note: Do not call any functions on this instance after disconnecting. Emitting further events will throw DisconnectedExceptions. The API instance will get destroy() ed.
This does not close the underlying stream.
See Implementation
Sends disconnect signal to remote server and stops internal tasks.
Note: Do not call any functions on this instance after disconnecting. Emitting further events will throw DisconnectedExceptions. The API instance will get destroy() ed.
This does not close the underlying stream.