Joined July 2013
·

Jonathan Lewis

New York
·
·

Posted to Promise Chains with Node.js over 1 year ago

What do you think about this:


                .each(parameterstoasyncfunction, function(parametertoasyncfunction, i){
                    var deferred = Q.defer();
                    var add = Q.nbind(theasyncfunction,context);
                    promises.push(add(parametertoasyncfunction));
                });
</code></pre>
Achievements
59 Karma
0 Total ProTip Views