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
{{ message }}
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
[x] Regression
[ ] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
What is the motivation / use case for changing the behavior?
Making this work would help ensure that this library remains a drop in replacement for the nestjs/bull package. taskforcesh/bullmq#448 (comment)
Functionality wise, Bullv3 and BullMQ provides the same, it just that the syntax is different. In BullMQ you only define 1 processor, and then inside the processor you can choose different code paths depending on the "job.name" property. In your case this will mean a bit more of code, but named processors where causing a lot of confusion so we decided to remove the syntax sugar and made it more explicit.
Environment
For Tooling issues:
- Node version: 12
- Platform: Mac
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm submitting a...
Current behavior
If using this library and you have:
Then both functions will get called regardless of the job name passed in.
Expected behavior
Specifying a named job should result in the correct processor being used. This functionality currently exists with the nestjs/bull package.
Minimal reproduction of the problem with instructions
The following should work:
What is the motivation / use case for changing the behavior?
Making this work would help ensure that this library remains a drop in replacement for the nestjs/bull package.
taskforcesh/bullmq#448 (comment)
Environment
The text was updated successfully, but these errors were encountered: