delayq icon indicating copy to clipboard operation
delayq copied to clipboard

Job ID Proposal

Open ameghdadian opened this issue 1 year ago • 0 comments

Hi,

This library is wonderful.

One thing I thought would be great to consider adding to this library is to return an ID for every job Enqueued, so that one can track the job later and be able to cancel that specific job.

Suppose, you planned to send an early notification for a customer who made an appointment. By cancelling the appointment, you also need to cancel any related scheduled jobs.

I would also propose to transform the Delete function's interface(or add a new method) to receive the ID and remove the scheduled job corresponding with that ID.

ameghdadian avatar Sep 15 '24 17:09 ameghdadian