1.0.0 • Published 8 years ago

promise-resolver-queue v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

PromiseQueue

Inspired by Promise Series

const queue = new PromiseQueue();
queue.push(promiseForFile);
queue.push(promiseForSearch);
queue.push(promiseForWrite);

queue.resolve().then((results) => {
    console.log(results);
}).catch((error) => {
    console.log(error);
});

##Tasks

# run unit tests
npm test
# with coverage
npm run test-coverage
# linting and verifying coding style
npm run lint
# building library
npm run build
# building a specific distribution version
git checkout v0.1.5 && npm run build
1.0.0

8 years ago