DEV Community

Discussion on: Javascript - Generator - Yield/Next VS Async-Await

Collapse
thumbone profile image
Bernd Wechner

Thanks, this great. I wonder if you can show how async/await decomposes into yield/next. In fact I have read elsewhere that async/await is merely syntactic sugar for yield/next. But I have yet to find analogous presentations, that is an async/await sample rewritten and functionally equivalent to a yield/next sample.