3 ms·
You can sequence multiple async operations with promises quite easily by using Q.all (of course this depends on the promise library you're using). Even if asyn
by nawitus 12y ago
You can sequence multiple async operations with promises quite easily by using Q.all (of course this depends on the promise library you're using).
Even if async/await will only replace .then chains, that already fixes most of the issues. Most async code actually consists of .then chains (or just a single async function call).
Anyway, I agree with your point. Developers need to understand how to use async/await correctly.
I wonder if async/await could be implemented for grouping multiple async operations together..