forked from goodboy/tractor
Mostly due to magic from @oremanj where we slap in a little bit of
`.from_asyncio`-type stuff to run a `trio`-task from `asyncio.Task`
code!
I'm not gonna go into tooo too much detail but basically the primary
thing needed was a way to (blocking-ly) invoke a `trio.lowlevel.Task`
from an `asyncio` one (which we now have with a new
`run_trio_task_in_future()` thanks to draft code from the aforementioned
jefe) which we now invoke from a dedicated aio case-branch inside
`.devx._debug.pause_from_sync()`. Further include a case inside
`DebugStatus.release()` to handle using the same func to set the
`repl_release: trio.Event` from the aio side when releasing the REPL on
exit cmds.
Prolly more refinements to come ;{o
|
||
|---|---|---|
| .. | ||
| advanced_faults | ||
| debugging | ||
| integration | ||
| parallelism | ||
| __init__.py | ||
| __main__.py | ||
| a_trynamic_first_scene.py | ||
| actor_spawning_and_causality.py | ||
| actor_spawning_and_causality_with_daemon.py | ||
| asynchronous_generators.py | ||
| full_fledged_streaming_service.py | ||
| infected_asyncio_echo_server.py | ||
| multiple_streams_one_portal.py | ||
| quick_cluster.py | ||
| remote_error_propagation.py | ||
| rpc_bidir_streaming.py | ||
| service_discovery.py | ||