aniftyco / kubit

Full stack web framework for Node.js
https://kubitjs.com/
MIT License
25 stars 2 forks source link

Upgrade bullmq and implement more advanced queue/job features #45

Open joshmanders opened 3 months ago

joshmanders commented 3 months ago

We need to bring BullMQ up to latest version, and implement more advanced queue/job features like methods in the Job class for chaining on dispatch for changing what connection that job should dispatch to.

ExampleJob.dispatch({ ... }).on('other-connection');

Also things for controlling the job when dispatching like setting default config on the job class itself, and overriding those with a second param on the Job#dispatch(payload, options) method.