Asynchronous code can be tough to manage, even for a seasoned JavaScript developer. Sometimes it seems like the only options are a pyramid nested callbacks, a pyramid of nested promises, or trying some functional tricks that your friend Monad told you about in math class. Well, thanks to one of the language enhancements in ES6, we have a new option: clear and concise code with generators.
In this talk I will walk you through the underlying concepts of generators and how they can be applied to control the asynchronous behavior in your web or nodejs applications.