Skip to content

Glossary: Python Beyond the Basics

async / await

Also written: async, await, async def

Python's built-in way to do concurrency. `async def` makes a function that can pause, and `await` marks where it pauses to wait so other code can run.

Where the book teaches it

Related terms

coroutineasyncioconcurrency