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