AutoFramework/venv/Lib/site-packages/trio/from_thread.py

8 lines
263 B
Python
Raw Normal View History

2022-07-30 10:19:36 +08:00
"""
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