()
| 556 | } |
| 557 | |
| 558 | private assertOpen(): void { |
| 559 | if (this.closed || !this.ws || this.ws.readyState !== WS.OPEN) { |
| 560 | throw new Error('remote app-server websocket is not open') |
| 561 | } |
| 562 | } |
| 563 | |
| 564 | private close(message: string): void { |
| 565 | if (this.closed) { |
no outgoing calls
no test coverage detected