Asynchronous Programming: The End of The Loop
Course on egghead by Jafar Husain
- 59 min
- LengthVideo runtime
- Free
- Price modelListed as free
- 9
- Lessons
- 4.4
- Rating out of 510 ratings on egghead
- Mar 2015
- Published24 Mar 2015
About this course
Note: Some of the RxJS syntax used in this course is outdated, but the concepts taught on arrays, async, and observables are still reliable and applicable. Async programming may seem daunting. How can we write programs that accept user input, run animations, and send server requests over the same period? How do we keep the code clear and concise? How do we gracefully propagate and handle asynchronous errors? How can we avoid memory leaks caused by dangling event handlers? JavaScript's loops and try/catch keywords are no help - they only work on synchronous functions. Here's the good news: Asynchronous programming is much easier than it seems. The key is to think differently about events. It is possible to build most asynchronous programs using a handful of simple functions.
What it covers
- 1The Array forEach method
- 2The Array map method
- 3The Array filter method
- 4Chaining the Array map and filter methods
- 5Create an Array concatAll method
- 6Introducing the Observable
- 7Using the map method with Observable
- 8Simple drag and drop with Observables
- 9Advanced Flattening
Similar functional programming courses
Same topic, nearest in length, up to three from any one provider.
Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.