Socket
Book a DemoInstallSign in
Socket

continuable-series

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

continuable-series

turn array of continuable into continuable that invokes them in series

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
294
194%
Maintainers
1
Weekly downloads
 
Created
Source

continuable-series

given an array of continuables return a continuable that executes them in series.

travis

testling

see continuable

Example

series([
  continuable1,
  continuable2,
  continuable3,
]) (function (err, lastValue) {
  //...
})

Passing in a callback as second argument

series also works as a "normal" async function

series([
  continuable1,
  continuable2,
  continuable3,
], function (err, lastValue) {
  //...
})

License

MIT

FAQs

Package last updated on 16 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts