* Add event emitter for when peer connection is established.

This commit is contained in:
Derrick Hammer 2023-04-16 06:08:31 -04:00
parent b3d6fd4668
commit d30528caa0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -16,5 +16,6 @@ export default class Peer extends BasePeer {
protected async handleChannelOnOpen(m: any): Promise<void> { protected async handleChannelOnOpen(m: any): Promise<void> {
await this._proxy.handleNewPeerChannel(this); await this._proxy.handleNewPeerChannel(this);
this._proxy.emit("peerOpen", this);
} }
} }