()
| 36 | } |
| 37 | |
| 38 | protected onConnected(): void { |
| 39 | if (!this.syncClient()) { |
| 40 | this.setResult(0) |
| 41 | return |
| 42 | } |
| 43 | |
| 44 | this.subscribe() |
| 45 | this.setResult(this.computeValue()) |
| 46 | } |
| 47 | |
| 48 | protected onDisconnected(): void { |
| 49 | this.unsubscribe?.() |
nothing calls this directly
no test coverage detected