The turbine room of the Volga Hydroelectric Station — Kent Kanouse (CC BY-NC 2.0) In 7 Surprising Things I Learned Writing a Fibonacci Generator in JavaScript, I covered one obvious use-case for ES6 generator functions: producing iterable sequences of values one at a time. If you haven’t read that yet, you should. Iterables are the foundation of a lot of things in ES6+, and it’s going to be import
![The Hidden Power of ES6 Generators: Observable Async Flow Control](https://cdn-ak-scissors.b.st-hatena.com/image/square/1063384da49c9ff0833f7b8981788c963da78e07/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2APTRbkX1BYeEAovhPC7-bCg.jpeg)