I believe Flask 2.0 optionally supports it whereas FastAPI is async only. I could be wrong though.
Edit: Thanks for the correction, my point is moot and irrelevant.
Edit: Thanks for the correction, my point is moot and irrelevant.
> When you declare a path operation function with normal def instead of async def, it is run in an external threadpool that is then awaited, instead of being called directly (as it would block the server).