DEV Community

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

zeddotes profile image

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

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