feat(client): add close event on websocket termination

This commit is contained in:
2023-05-19 17:53:46 +02:00
parent a469f1fdb4
commit 10f18ba491
+1
View File
@@ -76,6 +76,7 @@ export class Client extends EventEmitter {
}
ws.onclose = () => {
this.emit('close')
}
}