loading...

Discussion on: Understanding Generators in ES6 Javascript

Collapse
adam_cyclones profile image
Adam Crockett

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

Thread Thread
thetuanphung profile image
Tuan Phung ⚡️ Author

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...