Skip to content

Commit a68afc5

Browse files
author
Kwon Hyungjoo
committed
Rollback handleMessage
1 parent 667bb5b commit a68afc5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

index.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ class AsyncClient {
99
this._client = client;
1010
}
1111

12+
set handleMessage (newHandler) {
13+
this._client.handleMessage = newHandler;
14+
}
15+
16+
get handleMessage () {
17+
return this._client.handleMessage;
18+
}
19+
1220
get connected () {
1321
return this._client.connected;
1422
}
@@ -73,10 +81,6 @@ class AsyncClient {
7381
return this._client.getMaxListeners(...args);
7482
}
7583

76-
handleMessage (...args) {
77-
return this._client.handleMessage(...args);
78-
}
79-
8084
listenerCount (...args) {
8185
return this._client.listenerCount(...args);
8286
}

0 commit comments

Comments
 (0)