@indiefin/adonis-queue-provider
v1.2.0
Published
AdonisJS queue provider
Downloads
28
Readme
AdonisJS Queue Provider
This package is a queue provider for the AdonisJS framework.
Register provider
Register the provider in start/app.js
const providers = ['@indiefin/adonis-queue-provider']
Create config and register driver
Create a queue.js
file in config folder to register driver to use
Available drivers
Memory : @indiefin/adonis-queue-provider-memory-driver
Amazon SQS : @indiefin/adonis-queue-provider-sqs-driver
Usage example
const Queue = use('App/Queue')
const queue = await Queue.use('memory-queue')
await queue.sendMessage('message')