1. Asynchronous ES6 With Generators
[MUSIC] In this Coffee Break Course, we will learn how to create asynchronous behavior with ES6 generators. Generators are an alternative to call backs or promises and allow you to drop in and out of functions at will. This allows you to write code that allows you to wait for a remote server to upload data before rendering the contents of a web app for example. Truthfully, the uses I could find for generators is limitless. Before you can start to use them, you first need to understand how to use them. In this course, we will first learn the basics of the syntax and how to use generators. Then we will learn how we can communicate with our generators and pass data into them. Finally, we will learn how to use generators to account for the latency of grabbing data from remote sources. We will learn how to write asynchronous code that allows us to wait until our data is loaded before rendering the page. After viewing this course you should have a solid understanding of how generators work, and more importantly, how you can use them in your projects going forward.