- Issue created by @lawxen
- π¬π§United Kingdom alexpott πͺπΊπ
I'm not sure this is necessary - if you really want to do that you could use the post process event and check the job state there. We don't have an onSuccess either.
I think we need more justification with a real example use-case that couldn't be solved with an event listener.
- π¨π³China lawxen
Besides post process event, We can also check the job state on each job's process() function
We must recalculate if it's the real end failure. There won't be any problem with the regular count calculation. But on exception/failure the recalculation may cause some bugs in an extremely complex queue system if the code is not rigorous.
So we want to add an onFailure() function to avoid such risks and complexities.