DEV Community

loading...

Discussion on: Understanding Generators in ES6 Javascript

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

Thread Thread
kurisutofu profile image
kurisutofu

I just read it and it was nice but to be honest, I still have trouble grasping how it could be more beneficial than other methods.
It's Monday and I haven't played with it so I'll revisit your article later and it will probably make more sense to me :)