| 36 | subscribe(channel: string): void { |
| 37 | unsubscribe(channel); |
| 38 | const handler = message => { |
| 39 | this.emit('message', channel, message); |
| 40 | }; |
| 41 | subscriptions.set(channel, handler); |
| 42 | this.emitter.on(channel, handler); |
| 43 | } |
nothing calls this directly
no outgoing calls
no test coverage detected