tractor/tractor
Tyler Goodlet 680a841282 Start `trionics` sub-pkg with `async_enter_all()`
Since it seems we're building out more and more higher level primitives
in order to support certain parallel style actor trees and messaging
patterns (eg. task broadcast channels), we might as well start a new
sub-package for purely `trio` constructions. We hereby dub this
the realm of `trionics` (like electronics but for trios instead of
electrons).

To kick things off, add an `async_enter_all()` concurrent
exit-stack-like context manager API which will concurrently spawn
a sequence of provided async context managers and deliver their ordered
results but with proper support for `trio` cancellation semantics.
The stdlib's `AsyncExitStack` is not compatible with nurseries not
`trio` tasks (which are cancelled) since as task will be suspended on
the stack after push and does not ever hit a checkpoint until the stack
is closed.
2021-10-23 15:54:40 -04:00
..
testing Drop trailing comma 2021-07-06 08:23:29 -04:00
trionics Start `trionics` sub-pkg with `async_enter_all()` 2021-10-23 15:54:40 -04:00
__init__.py Export portal type at top level 2021-09-02 16:22:59 -04:00
_actor.py Do immediate remote task cancels 2021-10-14 13:39:46 -04:00
_broadcast.py Fix 404ed tokio urls 2021-09-02 21:12:54 -04:00
_child.py Docstring to the top\!, and redundant spaces goodbye\! 2020-07-29 15:39:38 -03:00
_debug.py Right, only worry about pdb lock when in debug mode 2021-10-15 09:29:25 -04:00
_discovery.py Remove union type for root getter 2021-10-14 13:39:46 -04:00
_entry.py Try not masking SIGINT in child processes 2021-09-02 16:22:59 -04:00
_exceptions.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_forkserver_override.py Ignore type checks on stdlib overrides 2021-02-21 14:08:23 -05:00
_ipc.py Add "message transport" structured sub-typing 2021-10-06 15:54:27 -04:00
_mp_fixup_main.py Fix more stdlib typing issues with latest mypy 2021-02-21 12:48:03 -05:00
_portal.py De-noise warnings, add a 'cancel' log level 2021-10-06 17:02:13 -04:00
_root.py De-noise warnings, add a 'cancel' log level 2021-10-06 17:02:13 -04:00
_spawn.py Grab lock if cancelled during spawn before hard kill 2021-10-15 18:26:46 -04:00
_state.py Add a no runtime error 2021-04-28 12:23:08 -04:00
_streaming.py De-noise warnings, add a 'cancel' log level 2021-10-06 17:02:13 -04:00
_supervise.py Rename the nursery module to `_supervise` 2021-10-23 15:54:40 -04:00
log.py De-noise warnings, add a 'cancel' log level 2021-10-06 17:02:13 -04:00
msg.py Adjustments for non-frozen context dataclass change 2021-07-06 08:23:29 -04:00