Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Asynchronous Programming: The End of The Loop

via egghead.io

Overview

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. We will learn why most JavaScript developers approach asynchronous programming the wrong way, and how to avoid these common mistakes.

Syllabus

  • The Array forEach method
  • The Array map method
  • The Array filter method
  • Chaining the Array map and filter methods
  • Create an Array concatAll method
  • Introducing the Observable
  • Using the map method with Observable
  • Simple drag and drop with Observables
  • Advanced Flattening

Taught by

Jafar Husain

Reviews

4.4 rating at egghead.io based on 510 ratings

Start your review of Asynchronous Programming: The End of The Loop

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.