Skip to content

Glossary: Multi-Agent Systems

Coroutine

Also written: coroutines

A function defined with `async def` that can pause while it waits so others can run. Calling it only creates a coroutine object; it runs when awaited or passed to `asyncio.run`.

Where the book teaches it

Related terms

asyncioEvent loopawait