Learn one of the most complex topics of programming with easy-to-understand examples and hands-on explanations
Learn about callbacks and how you have been using them in your daily programming already
Learn all about event loops and how JavaScript works behind the screen and how it executes asynchronous code
Description
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
What you will learn
Learn about callbacks and how you have been using them in your daily programming
Pros and cons of callbacks, callback hell
Learn about handling errors in promises
Learn about making prettier promises with Async-Await
Learn about promises, ES6 updates, and how they replaced callbacks
Learn three real-world mini projects
Aarthi Elumalai is the founder of DigiFisk. At DigiFisk, they aim to make programming fun and interactive. If you are tired of endless theories, you have come to the right place. Starting with beginner-level courses in any programming language or field, they guide you to advance with several real-world project-based classes to equip you to thrive in the real world. Their lectures tend to be detailed and leave nothing out, so beginners and advanced programmers alike can learn something from each course. Be sure to enjoy your journey into the fascinating world of programming with DigiFisk.
How can I download a video package for offline viewing?
Login to your account at Packtpub.com.
Click on "My Account" and then click on the "My Videos" tab to access your videos.
Click on the "Download Now" link to start your video download.
How can I extract my video file?
All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.
How can I get help and support around my video package?
If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail customercare@packt.com with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.
Video
Format watched (HTML, MP4, streaming)
Chapter or section that issue relates to (if relevant)
System being played on
Browser used (if relevant)
Details of support
Why can’t I download my video package?
In the even that you are having issues downloading your video package then please follow these instructions:
Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.