Q.map

I use this pattern all the time with producer-consumer patterns, http://jsfiddle.net/mdfLc/