async and await in Plain Words
Most of a back end's time goes on waiting, so an async def function can pause at each await and let other work run, asyncio.gather waits for two things at once instead of one after the other, and time.sleep inside async def holds up everything else.
Updated

- Category
- FastAPI
- Level
- Journeyman
- Tags
- async and await, asyncio, Coroutine (python), Event Loop (python), fastapi, python