Skip to content

Glossary: Django Beyond the Basics

asyncio

Also written: asyncio.run, asyncio.sleep

Python's standard library for asynchronous code. `asyncio.run` starts a coroutine from plain code, and `asyncio.sleep` waits without blocking.

Where the book teaches it

Related terms

asyncio.gatherCoroutine