Is it possible to delete a job with a delay? #1444
-
I can’t find an answer to the question whether it is possible to delete a task with a delay by ID. Situation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you know the id of the job just instantiate the job (https://api.docs.bullmq.io/classes/Job.html#fromId) and then remove it (https://api.docs.bullmq.io/classes/Job.html#remove). |
Beta Was this translation helpful? Give feedback.
If you know the id of the job just instantiate the job (https://api.docs.bullmq.io/classes/Job.html#fromId) and then remove it (https://api.docs.bullmq.io/classes/Job.html#remove).