ing
This commit is contained in:
parent
0c7f336781
commit
a39c130633
|
@ -101,7 +101,9 @@ export abstract class RPCClient {
|
||||||
const resCodec = this._codec.response(message);
|
const resCodec = this._codec.response(message);
|
||||||
|
|
||||||
if (resCodec.isNotification()) {
|
if (resCodec.isNotification()) {
|
||||||
this.onNotification(resCodec.notification());
|
const noti = resCodec.notification();
|
||||||
|
console.log(`RPC Notification: ${noti}`);
|
||||||
|
this.onNotification(noti);
|
||||||
} else {
|
} else {
|
||||||
this.onResponse(resCodec);
|
this.onResponse(resCodec);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user