(err: any)
| 235 | } |
| 236 | |
| 237 | protected onError(err: any): void { |
| 238 | console.log(`Socket Error - ${err}`); |
| 239 | if (!this.abortReconnects) { |
| 240 | this.reconnect(); |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | protected onOpen(): void { |
| 245 | const listeners = this.when_listeners.slice(); |