promise-seq
v4.0.1
Published
Evaluate promises in sequence
Downloads
4
Maintainers
Readme
promise-seq
evaluate promises in sequence
install
# Using Yarn:
yarn add promise-seq
# Or, using NPM:
npm install promise-seq --save
usage
import { seq } from 'promise-seq'
seq(
() => new Promise( ... ),
() => new Promise( ... ),
() => new Promise( ... )
)
.then(
res => ...,
err => ...
)
test
npm test
tdd
npm test -- --watch