(options?: QueueEventsOptions)
| 65 | } |
| 66 | |
| 67 | public createQueueEvents(options?: QueueEventsOptions) { |
| 68 | const evt = new QueueEvents(this.name, { |
| 69 | connection: this.queueOptions.connection, |
| 70 | prefix: this.queueOptions.prefix, |
| 71 | ...options, |
| 72 | }); |
| 73 | this.queueEventsList.push(evt); |
| 74 | return evt; |
| 75 | } |
| 76 | |
| 77 | public getQueueEventsList() { |
| 78 | return this.queueEventsList; |