node package manager

continuable-series

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