3 ms·
What you are describing is that you can design an algorithm where "some part of the algorithm" can be executed in any order, so that you can execute them in par
by ankurdhama 8y ago
What you are describing is that you can design an algorithm where "some part of the algorithm" can be executed in any order, so that you can execute them in parallel to gain performance using multiple cores but overall when thinking about coming up with the algorithm you will have to figure out the correct sequence.
Async/await is sequential where the operations are asynchronous (you don't move to next async operation until the previous async operation is done, given that the second async operation have dependency on the first operation's result).