Book Image

Asynchronous Programming in JavaScript - Complete Course [Video]

By : Aarthi Elumalai
3 (1)
Book Image

Asynchronous Programming in JavaScript - Complete Course [Video]

3 (1)
By: Aarthi Elumalai

Overview of this book

JavaScript was not designed to be an asynchronous language, but with just the right tweaks, you can make it asynchronous. Asynchronous code helps you manage everything seamlessly while making sure that the data you are waiting for is used in your code ONLY after it has been completely fetched. In this course, you will learn every single concept of asynchronous JavaScript with easy-to-understand, over-the-shoulder examples and detailed, interesting explanations. You will learn all about event loops and how JavaScript works behind the screen and how it executes asynchronous code, about callbacks and their drawbacks, how promises replaced them and how Async Await made promises prettier. You will apply all of these in three real-world mini-projects as well. We will look at Async Await, an ES7 update, and how they have made promises look pretty. We will also look at resolving multiple promises at the same time using Async Await and error handling. By the end of this course, you will have a thorough understanding of how asynchronous programming works in JavaScript. All resources and code files are placed here: https://github.com/PacktPublishing/Asynchronous-Programming-in-JavaScript---Complete-Course
Table of Contents (4 chapters)
Chapter 3
Promises
Content Locked
Section 7
Mini-Project #2
This video explains how a style script can be loaded using promises instead of callbacks.