diff options
Diffstat (limited to 'venv/lib/python3.9/site-packages/trio/from_thread.py')
-rw-r--r-- | venv/lib/python3.9/site-packages/trio/from_thread.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/venv/lib/python3.9/site-packages/trio/from_thread.py b/venv/lib/python3.9/site-packages/trio/from_thread.py new file mode 100644 index 00000000..296a5a89 --- /dev/null +++ b/venv/lib/python3.9/site-packages/trio/from_thread.py @@ -0,0 +1,7 @@ +""" +This namespace represents special functions that can call back into Trio from +an external thread by means of a Trio Token present in Thread Local Storage +""" + +from ._threads import from_thread_run as run +from ._threads import from_thread_run_sync as run_sync |