Browse Source

📝 Clarify guidance on using `async def` without `await` (#13642)

Co-authored-by: Sebastián Ramírez <[email protected]>
pull/13793/merge
Swastik Pradhan 2 days ago
committed by GitHub
parent
commit
6d78b228d8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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 (somehow) doesn't have to communicate with anything else and wait for it to respond, use `async def`, even if you don't need to use `await` inside.
--- ---

Loading…
Cancel
Save