The notion of generators is a groundbreaking new feature in ES2015, one of the few that isn't trivial to implement using the old ES5 spec. Generators help you write asynchronous code without callbacks, calculate the billionth Fibonacci number without blocking the event loop, and write web servers that actually know when they're done writing the HTTP response.
The 80/20 Guide to ES2015 Generators provides a comprehensive introduction to generators by showing you how to implement minimal versions of 3 influential generator-based npm modules: co, koa, and regenerator. Don't worry about slogging through another drawn-out tech book: in keeping with the Pareto distribution, this book focuses on the essentials and is designed to be read in under 2 hours.
Writing an internal tool based on Koa and Nightmare - and using knowledge from this book https://t.co/c4XPQAoIBJ by @code_barbarian
— Gleb Bahmutov (@bahmutov) February 3, 2016
Want to learn the truth about Javascript generators? Then don't miss the latest publication from @code_barbarian - https://t.co/C8uGhBeHAC
— Diego Netto (@hackthenetto) January 28, 2016
Heard @code_barbarian on @JSJabber and bought the book https://t.co/TorztlLDqF before the podcast was over
— sam havens (@sam_havens) May 6, 2016
You should learn ES2015 generators, they power things like async/await and Redux Saga. Good convo w/@code_barbarian https://t.co/muDmqIc1vM
— Peter Jang (@peterxjang) May 13, 2016