Browse Source

Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example.

It does not support thread_sensitive when used as a decorator, yet.
Andrew Godwin 5 years ago
parent
commit
b5ad450fa6
1 changed files with 0 additions and 4 deletions
  1. 0 4
      docs/topics/async.txt

+ 0 - 4
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.