Browse Source

Clarify usage of async def when no await is needed

pull/13642/head
Swastik Pradhan 4 months ago
parent
commit
162fc49082
  1. 2
      docs/en/docs/async.md

2
docs/en/docs/async.md

@ -40,7 +40,7 @@ def results():
--- ---
If your application (somehow) doesn't have to communicate with anything else and wait for it to respond, use `async def`. If your application doesn't need to communicate with anything else or await a response, it's still safe to use `async def` -- even if there's nothing to `await`.
--- ---

Loading…
Cancel
Save