summaryrefslogblamecommitdiffstats
path: root/venv/lib/python3.9/site-packages/trio/from_thread.py
blob: 296a5a89eafc415d09bf7eae7230fad4ecb36f3e (plain) (tree)
1
2
3
4
5
6
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