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

4.0.1 • Public • Published

promise-seq

Build Status npm cc4

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

Package Sidebar

Install

npm i promise-seq

Weekly Downloads

2

Version

4.0.1

License

CC-BY-4.0

Last publish

Collaborators

  • bcherny