| 26 | |
| 27 | subscribe(channel: string): void { |
| 28 | const handler = message => { |
| 29 | this.emit('message', channel, message); |
| 30 | }; |
| 31 | this.subscriptions.set(channel, handler); |
| 32 | this.emitter.on(channel, handler); |
| 33 | } |
no outgoing calls
no test coverage detected