Skip to content

Instantly share code, notes, and snippets.

@zeekay
Created November 3, 2012 21:19
Show Gist options
  • Save zeekay/4008854 to your computer and use it in GitHub Desktop.
Save zeekay/4008854 to your computer and use it in GitHub Desktop.
async = require 'async'
async.waterfall [
(cb) ->
cb null, 1
(one, cb) ->
cb null, one, 2
(one, two, cb) ->
cb null, one, two, 3
], (err, one, two, three) ->
console.log one, two, three
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment