MCPcopy
hub / github.com/midwayjs/midway / createQueueEvents

Method createQueueEvents

packages/bullmq/src/framework.ts:67–75  ·  view source on GitHub ↗
(options?: QueueEventsOptions)

Source from the content-addressed store, hash-verified

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;

Callers 1

index.test.tsFile · 0.80

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected