0.3.0 • Published 6 years ago

async-queue-adapter v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Async Queue Adapter

Build Downloads Version License

NPM

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 = require("async-queue-adapter").create({
  adapter: "local"
  /* config */
})

// or
import { create } from "async-queue-adapter"
create({
  adapter: "local"
  /* config */
})

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

adapterdelaysprioritytimeout
localO..todo..O
aws-sdkO (Max 15min)By AWS Console
beanstalkdOO
amqplibO

License

MIT