stubborn-queue

a queue that continues even if a task fails


Keywords
queue
License
ISC
Install
npm install stubborn-queue@2.0.0

Documentation

stubborn-queue

npm travis standard conduct

About

A queue module with concurrency and that collects errors when they happen, then continue on with the next item in the queue, rather than emptying the queue on the first error.

This module was based in part on and takes some tests from d3-queue.

Install

npm install --save stubborn-queue

Usage

var fs = require('fs')
var path = require('path')
var queue = require('stubborn-queue')

queue()
  .add(fs.readFile, path.join(__dirname, '..', 'index.js'))
  .add(fs.readFile, path.join(__dirname, '..', 'README.md'))
  .add(fs.readFile, path.join(__dirname, '..', 'package.json'))
  .done(function (errors, results) {
    console.log(errors, results)
  })

Contributing

Contributions are welcome! Please read the contributing guidelines first.

Conduct

It's important that this project contributes to a friendly, safe, and welcoming environment for all. Read this project's code of conduct

Change log

Read about the changes to this project in CHANGELOG.md. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

License

ISC