One of the best video tutorials about JavaScript async patterns is from Kyle Simpson. I watched this video about three years ago and it's still relevant today.
I am writing this post for myself to refer through the async concepts which are vital in writing JS applications.
Without further ado,
In summary he talks about,
- Callbacks
- Promises
- async await
- Observables (RxJS)
- Communicating sequential processes (CSP)
All of which can achieve the same results (concurrent async calls) but he shows how you can improve your code by adapting advance async patterns.
I thought it's good one to remember even if it out-dates in the future.