
TeamTreeHouse Asynchronous Programming with JavaScript-RiDWARE
English | Size: 265.88 MB
Category: Tutorial
In this course, you will learn why asynchronous code matters, and how to write code that avoids blocking behavior using three approaches: callbacks, promises, and async/await.
What you’ll learn
Synchronous vs. asynchronous programming
Callbacks
Promises
Async/await
What is Asynchronous Programming?
In this stage, you’ll learn the differences between synchronous and asynchronous code. You’ll also get an introduction to the mechanics of asynchronous programming in the browser, learning concepts like JavaScript’s call stack and event loop.
6 steps
Introduction to Asynchronous JavaScript
2:45
Understanding Synchronous and Asynchronous Code
3:25
Examples of Synchronous and Asynchronous Code
5:20
The JavaScript Call Stack
The Callback Queue and Event Loop
Asynchronous Programming Review
7 questions
Asynchronous JavaScript with Callbacks
Asynchronous code is typically structured in a different way than synchronous code. One of the most fundamental ways to structure async programs in JavaScript is with callback functions. In this stage, you’ll learn how to use callbacks to handle the results of asynchronous operations, as well as some of the drawbacks and potential pitfalls of using them.
7 steps
Understanding Promises
Promises in JavaScript offer a more elegant and human-readable way to manage asynchronous code. In this stage, you’ll learn how to create and consume a promise, then how to chain promises together.
10 steps
Exploring Async/Await
The keywords async and await, together, provide a special syntax that makes working with promise-based code easier and more intuitive — you write asynchronous code that looks more like synchronous code. In this stage, you’ll learn how to combine async/await with traditional promises, and common ways to handle exceptions when working with async/await.
DOWNLOAD:
Leave a Reply