SerialPromise
run promises with timeout, in queue
you can alse check parallel-promise
Install
npm install queue-promise --save
Usage
// NOTE that there is not .catch here
You can use async/await as well.
StatusCode
Status | StatusCode |
---|---|
RESOLVE | 0 |
REJECT | 1 |
TIMEOUT | -1 |
Test
npm run test
License
MIT