diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2020-04-13 23:26:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-14 07:26:16 +0200 |
| commit | b5ad450fa6d53186b68f89a4507fdbabc8900f74 (patch) | |
| tree | 55ee6ccd9d6723885c6e2d745dc1295e5cfb002b /docs | |
| parent | 53d229ff632c2a3e547f2820a94239f38ba4d4ac (diff) | |
Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example.
It does not support thread_sensitive when used as a decorator, yet.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/async.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/topics/async.txt b/docs/topics/async.txt index 3b0e72be3e..99b7f06113 100644 --- a/docs/topics/async.txt +++ b/docs/topics/async.txt @@ -227,10 +227,6 @@ as either a direct wrapper or a decorator:: def sync_function(...): ... - @sync_to_async(thread_sensitive=True) - def sensitive_sync_function(...): - ... - Threadlocals and contextvars values are preserved across the boundary in both directions. |
