node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

waterfall

waterfall

var waterfall = require('waterfall')
 
var wf = waterfall()
 
wf.push(function (callback) {
  console.log('first')
  callback()
})
 
wf.callback(function () {
  console.log('callback')
})