Async Iterators Playground

Three dishes come from the market through an async generator: Mr. Tono’s for await…of serves them one at a time. When is the next dish asked for, and what…

The key idea

A generator pauses at yield until the loop asks again

Try it in this playground