You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[ ] Bug report
[ x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Currently, failure handling in queues requires switch statements on the job name inside the method decorated with @OnQueueFailed - it would be preferable to be able to specify a job name as you can in @Process for failure handling and have a method to handle failure for each named job.
The text was updated successfully, but these errors were encountered:
I have the same problem. I cannot find api docs, where I can read about types (Typescript), so I don't know what "name" exectly means in options of event decorators. I try to use @OnQueueCompleted({ name: 'something' }), and whatever I put on "name" in options, method doesn't work. Without options it works, where i can filter job by name using switch/if statements.
I'm submitting a...
Currently, failure handling in queues requires switch statements on the job name inside the method decorated with
@OnQueueFailed
- it would be preferable to be able to specify a job name as you can in@Process
for failure handling and have a method to handle failure for each named job.The text was updated successfully, but these errors were encountered: