re: Understanding Generators in ES6 Javascript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I will write another post with examples where generators come in handy
 

Seems people agree. Unrelated: I also hate that you can't restart a generator. Despite the initial spec saying you could.

I finally got some time, so I wrote down one example for the usage of generators, hope that you'll enjoy reading it 👉dev.to/phung_cz/canceling-promises...

code of conduct - report abuse