News for hackers. Stuff that matters.
Re:Fixing the callback spaghetti in node.js by snprbob86 on Thursday September 29, 2011 @04:07AM (#3051584)
I've been using: https://github.com/caolan/async

It looks pretty decent in CoffeeScript:

  blah = (done) ->
    async.series [
      (next) -> foo next
      (next) => @bar.baz 1, 2, 3, next
      (next) ->
        x = y
        z w next
    ], done

There are no comments on this comment yet.