Actually, I was trying to figuring out how to implement some sort of timeout mechanism to discard any task if that task surpassed the maximum wait time, and the wait time can be configurable in seconds, minutes, hours, and may vary customer to customer.
then I came across notifications events in…