When should a route be async?
Practice this question- When it awaits compatible nonblocking I/O.
- Async does not make CPU work fast or turn a synchronous SDK into an async one.
- I choose client and execution boundaries deliberately.
Adapted from 13_AI.MD · “29.19 FastAPI”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.