|
|
|
|
|
by saimiam
1521 days ago
|
|
I didn’t read the article like that at all. How would you handle two asynchronous saves which can happen in parallel without using a Promise.all? Don’t think you can…and that’s pretty much the entire point of the article. Async/await is useless unless you are willing to serialize your calls defeating the entire point of async code. |
|
In fact, my immediate intuition with the await examples was to parallelize with Promise.all.