Skip to content

Glossary: Multi-Agent Systems

await

Also written: async def

`async def` defines a coroutine function, and `await x` runs `x` and waits for its result while other coroutines run. `await` only works inside `async def`.

Where the book teaches it

Related terms

CoroutineasyncioEvent loop