@hastehaul/common 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,6 @@
|
|
1
1
|
import { Job, Worker } from "bullmq";
|
2
|
-
export type JobT = {
|
3
|
-
job: Job;
|
4
|
-
};
|
5
2
|
export declare abstract class AbstractWorker {
|
6
3
|
protected worker: Worker;
|
7
4
|
constructor(queueName: string);
|
8
|
-
protected abstract process(job:
|
5
|
+
protected abstract process(job: Job): Promise<void>;
|
9
6
|
}
|