queuetab
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Contributors Issues MIT License


QueueTab

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.

Dependents (0)

Package Sidebar

Install

npm i queuetab

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.34 kB

Total Files

5

Last publish

Collaborators

  • jmax45