Asynchronous Programming in JavaScript

Asynchronous Programming in JavaScript

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 1h 17m | 381 MB

JavaScript is single-threaded, but it uses asynchronous callback functions to connect different tasks. Understanding how tasks are created, processed, and linked to other tasks via closures is critical to JavaScript application development. Take a deep dive into asynchronous programming in JavaScript and learn about the async/await support introduced in ES2017.

Table of Contents

00:00:00 Introduction
00:01:54 The JavaScript Execution Model
00:14:12 Exploring Callbacks (Demo)
00:25:23 Two Common Asynchronous Operations
00:27:49 Using setTimeout and setInterval (Demo)
00:39:53 Limitations of Try/Catch/Finally and Callbacks
00:42:05 Try/Catch/Finally and Callbacks (Demo)
00:45:01 All Tasks are Asynchronous Callbacks
00:46:33 Button Clicks are Callbacks (Demo)
00:51:30 Pitfalls of Asynchronous Programming
00:56:47 Nested Callbacks, Callback Counters, and Racing (Demo)
01:06:21 Using Async/Await and Promises
01:09:08 Replacing Callbacks with Async/Await (Demo)
01:17:32 Conclusion