summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2020-04-13 23:26:16 -0600
committerGitHub <noreply@github.com>2020-04-14 07:26:16 +0200
commitb5ad450fa6d53186b68f89a4507fdbabc8900f74 (patch)
tree55ee6ccd9d6723885c6e2d745dc1295e5cfb002b /docs
parent53d229ff632c2a3e547f2820a94239f38ba4d4ac (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.txt4
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.