RomainLanz / adonis-bull-queue

Queue system based on BullMQ for AdonisJS
MIT License
147 stars 26 forks source link

Allow to define Jobs by using an import function instead of string base #19

Closed RomainLanz closed 8 months ago

RomainLanz commented 1 year ago
const RegisterStripeCustomer = () => import('App/Jobs/RegisterStripeCustomer')

Queue.dispatch(RegisterStripeCustomer, { ... })
RomainLanz commented 8 months ago

Done with AdonisJS 6 version.