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 667bb5b commit a68afc5Copy full SHA for a68afc5
index.js
@@ -9,6 +9,14 @@ class AsyncClient {
9
this._client = client;
10
}
11
12
+ set handleMessage (newHandler) {
13
+ this._client.handleMessage = newHandler;
14
+ }
15
+
16
+ get handleMessage () {
17
+ return this._client.handleMessage;
18
19
20
get connected () {
21
return this._client.connected;
22
@@ -73,10 +81,6 @@ class AsyncClient {
73
81
return this._client.getMaxListeners(...args);
74
82
75
83
76
- handleMessage (...args) {
77
- return this._client.handleMessage(...args);
78
- }
79
-
80
84
listenerCount (...args) {
85
return this._client.listenerCount(...args);
86
0 commit comments