| 4 | import { WebSocketAdapterEvent } from '../constants/adapter' |
| 5 | |
| 6 | export class UnsubscribeMessageHandler implements IMessageHandler { |
| 7 | public constructor(private readonly webSocket: IWebSocketAdapter) {} |
| 8 | |
| 9 | public async handleMessage(message: UnsubscribeMessage): Promise<void> { |
| 10 | this.webSocket.emit(WebSocketAdapterEvent.Unsubscribe, message[1]) |
| 11 | } |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected