concurrent-queue
A priority queue with configurable retry and concurrency
Table of Contents
Install
npm:
npm install smart-cq
yarn:
yarn add smart-cq
Usage
const CQueue = ; const cqueue = concurrency: 10 retries: 3; const asyncTask = { return { ; };} cqueue
Options
concurrency
- (default:Infinity
) - concurrent tasks to runretries
- (default:3
) - retry attempts on failed tasks
Contributors
Name | Website |
---|---|
Shaun Warman | https://shaunwarman.com |