|
|
|
|
|
by jQueryIsAwesome
4824 days ago
|
|
... and what does that haves to do with promises? And in such case you would only do this once outside the listeners of http/or-whatever connections so it would be done just once regardless of the number of concurrent activity. |
|
Hell, with ES6 generator-y expressions you could make it even more succinct, something like:
No push nonsense, no nested if statements, no need to explicitly invoke async.parallel or whatever. Just clarity.