Async Queue Adapter
Async Queue Adapter for Javascript(& Typescript).
Installation
npm install async-queue-adapter --save
Usage
You can create as follows:
(Please refer to the Config section for config.)
const connection = // or
Support Queue
- local
- AWS, SQS (require
npm install aws-sdk --save
) - beanstalkd (require
npm install beanstalkd --save
) - amqp (such as, RabbitMQ) (require
npm install amqplib --save
)
Create Connection
Use adapter
parameter of create
function`s config
Support Options
adapter | delays | priority | timeout |
---|---|---|---|
local |
O | ..todo.. | O |
aws-sdk |
O (Max 15min) | By AWS Console | |
beanstalkd |
O | O | |
amqplib |
O |
License
MIT