delayq
delayq copied to clipboard
Job ID Proposal
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.