re: Understanding Generators in ES6 Javascript VIEW POST

re: I didn't know about generators! interesting!

I will research them and probably will try to use them!
And I'll wait for the next article you mentioned in this one ;)

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

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 :)

code of conduct - report abuse