Yuriy Nemtsov

Node.js

Because you rock when you don't block
Jul 18, 2011 23:00
Ah, right I know them as Deferred (from dojo.Deferred)
Jul 18, 2011 22:58
np. -- I didn't have a very clear question. Nope, looking at 'future' now.
Jul 18, 2011 22:55
@jcolebrand so far, I'm leaning towards caolan/async; specifically -- async.parallel
Jul 18, 2011 22:54
Jul 18, 2011 22:38
Doesn't everyone? No, but seriously, it seems like a common problem. Not just with http requests; but with async db calls, or other tasks that could be parallelized.
Jul 18, 2011 22:33
Exactly -- both; depending on the use-case. That would be one of the options in this util/library.
Jul 18, 2011 22:25
@jcolebrand This library would follow 301s, call the err-cb if any or all requests time-out, and fail.
Jul 18, 2011 22:23
@jcolebrand I'd like to know if there's a library out there to which I can provide a number of URLs, a success callback method (for each), a single error callback; and possibly other options.
Jul 18, 2011 22:08
I find myself in a constant need to make a number of http requests in parallel; with either one err response or a number of them. Having done that myself a few times (with just a loop & counter), I'd like to use one that is more generic, and that others are using. Do you know if there's a library / micro-framework out there that will do this?
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Jul 18, 2011 22:42
@Nathan Thanks! I'll take a look at it now.
Jul 18, 2011 22:09
I find myself in a constant need to make a number of http requests in parallel; with either one err response or a number of them. Having done that myself a few times (with just a loop & counter), I'd like to use one that is more generic, and that others are using. Do you know if there's a library / micro-framework out there that will do this?
Feb 13, 2011 10:06
Hey!