Modern Asynchronous JavaScript

Pluralsight
Course Summary
When it comes to writing asynchronous code in JavaScript, callbacks can be a hassle. In this course, you'll see alternatives to callbacks, including ES6 promises, and how to combine generators with promises to write async code in a synchronous style.
-
+
Course Description
In this course, Modern Asynchronous JavaScript, you will learn how to write asynchronous code that's a joy to maintain, not a burden. You will learn how to reason about promises, an alternative to callbacks, by creating a promise framework. Seeing promises from the perspective of a producer helps reason better about being the consumer of promise based APIs. Then, you will learn about ES6 generators and how to combine them with promises to write code that looks synchronous but that's actually asynchronous. This style cuts out the inherent verbosity of callbacks and even promises alone. When you're finished with this course, you'll know how to write asynchronous code in a fashion that's not a hassle to maintain.
-
+
Course Syllabus
Callbacks- 54m 12s
—Callback Nesting Nightmare 6m 15s
—What You Will Get out of This Course 2m 10s
—What You Need to Know 6m 39s
—How to Use This Course 0m 46s
—Callbacks 4m 39s
—Double-edged Sword: Explicit Async Seams 1m 15s
—Con: Seams Rip Across Program 4m 7s
—Con: Another Error Mechanism 3m 6s
—Con: Hard to Reuse Error-handling Logic 1m 25s
—Con: Difficult to Understand 2m 40s
—Challenge: Synchronize Multiple Callbacks 4m 49s
—Solution 6m 7s
—Parallelism: Wouldn't This Be Nice? 2m 41s
—One-shot Events 3m 0s
—Takeaways 4m 26sLab Setup- 26m 7s
—Cloning the Starting Point from GitHub 1m 46s
—Operation Examples 7m 32s
—Running the Tests 1m 59s
—WebStorm Settings 2m 42s
—Auto Running Tests 1m 49s
—A Few Pointers About Using Mocha 3m 58s
—Callback Examples 3m 47s
—Debugging 2m 31sBuilding a Promise Framework- 50m 54sChaining Operations (Promises)- 50m 46sCushioning Callbacks- 54m 5sES6 Promises and Beyond- 1h 11mBuilding a Generator-based Control Flow Function- 1h 7mES2018 Async/Await and Other Generator Control Flow Libraries- 20m 30s