MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / constructor

Method constructor

apps/api/src/queues/queue-manager.ts:97–108  ·  view source on GitHub ↗
(input: IQueueManagerInput)

Source from the content-addressed store, hash-verified

95 private readonly emailDeliveryQueue: IEmailDeliveryQueue;
96 private readonly emailDeliveryWorker: IManagedWorker;
97 private readonly notificationDispatchQueue: IEnqueueableQueue<INotificationDispatchJobData>;
98 private readonly notificationDispatchWorker: IManagedWorker;
99 private readonly notificationMaintenanceQueue: IManagedQueue;
100 private readonly notificationMaintenanceWorker: IManagedWorker;
101 private readonly webPushDeliveryQueue: IEnqueueableQueue<IWebPushDeliveryJobData> | null;
102 private readonly webPushDeliveryWorker: IManagedWorker | null;
103
104 constructor(input: IQueueManagerInput) {
105 this.accountMaintenanceQueue = input.accountMaintenanceQueue;
106 this.accountMaintenanceWorker = input.accountMaintenanceWorker;
107 this.emailDeliveryQueue = input.emailDeliveryQueue;
108 this.emailDeliveryWorker = input.emailDeliveryWorker;
109 this.notificationDispatchQueue = input.notificationDispatchQueue;
110 this.notificationDispatchWorker = input.notificationDispatchWorker;
111 this.notificationMaintenanceQueue = input.notificationMaintenanceQueue;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected