*Update dist
This commit is contained in:
parent
5b443ed66d
commit
c459f1f0a3
|
@ -64,8 +64,7 @@ export default class ProtomuxRPC extends EventEmitter {
|
|||
encoding: response,
|
||||
onmessage: this._onresponse.bind(this),
|
||||
});
|
||||
this._channel.open(options?.handshake);
|
||||
await this._channel.ready;
|
||||
await this._channel.open(options?.handshake);
|
||||
}
|
||||
_onopen(handshake) {
|
||||
this.emit("open", handshake);
|
||||
|
|
Loading…
Reference in New Issue