(
private readonly snack: SnackReporter,
private readonly currentUser: CurrentUser
)
| 9 | private ws: WebSocket | null = null; |
| 10 | |
| 11 | public constructor( |
| 12 | private readonly snack: SnackReporter, |
| 13 | private readonly currentUser: CurrentUser |
| 14 | ) {} |
| 15 | |
| 16 | public listen = (callback: (msg: IMessage) => void) => { |
| 17 | if (!this.currentUser.token() || this.wsActive) { |
nothing calls this directly
no outgoing calls
no test coverage detected