Skip to content

Glossary: Speech and Audio AI

async generator (async for)

Also written: async for, asyncio, create_stream

A generator you loop over with `async for` inside an `async def` function, run with `asyncio.run`. Kokoro's `create_stream` is one.

Where the book teaches it

Related terms

Generator