Skip to content

Glossary: JavaScript Beyond the Basics

async generator

Also written: async function*, for await...of

A generator written `async function*` that can `await` inside. You loop over it with `for await...of`, which awaits each value, such as pages of orders fetched one at a time.

Where the book teaches it

Related terms

Generatorasync function