JavaScript: Async

JavaScript: Async
JavaScript: Async
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 11m | 250 MB

Asynchronous code is the foundation of most modern web experiences. It allows programs to switch between tasks and juggle multiple requests. However, without a thorough understanding of asynchronous programming, developers can write bloated code that works against the architecture of the web. Join Sasha Vodnik in this course, which explores asynchronous approaches to JavaScript programming using callbacks, promises, and the async/await operators in ES6. Learn what’s going on line by line in your code, revisit basic structures like XMLHttpRequest (XHR) objects and setTimeout(), and discover how to use the new syntax options in JavaScript to tackle any coding challenge.

Topics include:

  • Defining asynchronous programming
  • Building code using a callback
  • Building code using promises
  • Batching multiple promises
  • Building code using async/await
Table of Contents

1 Implementing smart asynchronous code
2 What you should know
3 Environment setup
4 Getting an OpenWeatherMap API key

Programming Asynchronously with Callbacks
5 Understanding what asynchronous means
6 Defining asynchronous programming
7 Understanding callbacks
8 Building code using a callback
9 Implementing a fail callback

Programming Asynchronously with Promises
10 Understanding promises
11 Building code using promises
12 Working with a returned promise
13 Working with a rejected promise
14 Specifying a default promise handler
15 Batching multiple promises Preparation
16 Batching multiple promises Implementation
17 Polyfilling promises

Programming Asynchronously with Async Await
18 Understanding the async await model
19 Building code using async await
20 Handling errors with async await
21 Transpiling async await code

22 Next steps