@hastehaul/common 2.5.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Job, Worker } from "bullmq";
|
1
|
+
import { Job, Worker, WorkerOptions } from "bullmq";
|
2
2
|
import { EventEmitter } from 'events';
|
3
3
|
/**
|
4
4
|
* Abstract class representing a worker for processing jobs from a Job Queue.
|
@@ -20,5 +20,5 @@ export declare abstract class AbstractWorker {
|
|
20
20
|
* @param {Job} job - The job object representing the job to be processed.
|
21
21
|
* @returns {Promise<void>} - A Promise that resolves when the job processing is completed successfully.
|
22
22
|
*/
|
23
|
-
protected abstract process(job: Job): Promise<
|
23
|
+
protected abstract process(job: Job): Promise<any>;
|
24
24
|
}
|