We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f5ec00 commit 72a13b9Copy full SHA for 72a13b9
src/index.ts
@@ -98,7 +98,7 @@ export class Client extends EventEmitter {
98
99
public async connect(): Promise<Client> {
100
if (this.connected) throw new Error("Client has already been connected.");
101
-
+
102
await this.client.connect();
103
this.connected = true;
104
@@ -120,7 +120,7 @@ export class Client extends EventEmitter {
120
121
public async end(): Promise<Client> {
122
if (!this.connected) throw new Error("Client has not been connected yet.");
123
124
await this.client.end();
125
this.connected = false;
126
0 commit comments