prisma-queue
prisma-queue copied to clipboard
Q: How to best organize queues?
Hi,
I'm using prisma-queue in my current project to great delight. Thanks for sharing this! 🚀
I was wondering how to best organize my queues. Since the handler is typed to a certain type of Job, it would seem that I have to either create a separate queue for each job type or create a generic job type that handles different tasks.
Say, for instance, you want to have a priority queue for sending emails and another one for all other jobs. How would you set this up?