(channel: string, queue: string)
| 81 | |
| 82 | public bindEvents(client: Client) { |
| 83 | const subscribe = (channel: string, queue: string) => |
| 84 | client.subscribe(channel, { |
| 85 | queue, |
| 86 | callback: this.getMessageHandler(channel).bind(this), |
| 87 | }); |
| 88 | |
| 89 | const defaultQueue = this.getOptionsProp(this.options, 'queue'); |
| 90 | const registeredPatterns = [...this.messageHandlers.keys()]; |