disconnect

View as Markdown
  • disconnect(): void

Disconnects this client. The client will stop receiving events and you will need to create a new instance if you want to use it again.

Returns

void

Example

1client.disconnect();