DEV Community

Discussion on: Don't Make This Async/Await Oopsie!

Collapse
zeddotes profile image
zeddotes

Thanks for the tip. Could you have used generators, instead, to do the job?

Collapse
mebble profile image
Neil Syiemlieh Author

Async await are based on generators but I haven't used generators themselves as they're not as popular as async await. It would be very interesting to see how generators would be used for async code