1.0.0 • Published 3 years ago

queuetab v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Contributors Issues MIT License

About QueueTab

QueueTab is a small JavaScript module to execute tasks in a queue.

Installation

Install the package with npm

npm install queuetab

Usage

const QueueTab = require('queuetab');
const queuetab = new QueueTab();

// asyncFunc is an example function, use your actual function instead
queuetab.add(asyncFunc, (err, res) => console.log('finished task 1', err, res));
queuetab.add(asyncFunc, (err, res) => console.log('finished task 2', err, res));

Contributing

Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/MyFeature)
  3. Commit your Changes (git commit -m 'Add MyFeature')
  4. Push to the Branch (git push origin feature/MyFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

1.0.0

3 years ago