This package has been deprecated

Author message:

WARNING: This project has been renamed to @stdjs/queue. Install using @stdjs/queue instead.

async-queue-adapter
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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

adapter delays priority timeout
local O ..todo.. O
aws-sdk O (Max 15min) By AWS Console
beanstalkd O O
amqplib O

License

MIT

Package Sidebar

Install

npm i async-queue-adapter

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

86.5 kB

Total Files

75

Last publish

Collaborators

  • wan2land