forked from goodboy/tractor
1
0
Fork 0
tractor/tractor
Tyler Goodlet c9132de7dc Move maybe-raise-error-msg logic into context
A context method handling all this logic makes the most sense since it
contains all the state related to whether the error should be raised in
a nursery scope or is expected to be raised by a consumer task which
reads and processes the msg directly (via a `Portal` API call). This
also makes it easy to always process remote errors even when there is no
(stream) overrun condition.
2021-12-06 16:32:23 -05:00
..
testing Drop trailing comma 2021-07-06 08:23:29 -04:00
trionics Change to `gather_contexts()`, use event for graceful exit 2021-10-24 14:00:01 -04:00
__init__.py Add 'open_actor_cluster' to __all__ 2021-10-23 16:17:29 -04:00
_actor.py Move maybe-raise-error-msg logic into context 2021-12-06 16:32:23 -05:00
_child.py Docstring to the top\!, and redundant spaces goodbye\! 2020-07-29 15:39:38 -03:00
_clustering.py Make auto generated child names <parent_name>.<name> 2021-11-02 15:40:15 -04:00
_debug.py Fix missing yield in lock acquirer 2021-11-07 23:48:05 -05: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 Add a stream overrun exception 2021-12-05 18:28:02 -05:00
_forkserver_override.py Ignore type checks on stdlib overrides 2021-02-21 14:08:23 -05:00
_ipc.py Appease mypy 2021-12-02 15:29:04 -05:00
_mp_fixup_main.py Fix more stdlib typing issues with latest mypy 2021-02-21 12:48:03 -05:00
_portal.py Pop context on `.open_context()` exit 2021-12-06 11:54:21 -05:00
_root.py De-noise warnings, add a 'cancel' log level 2021-10-06 17:02:13 -04:00
_spawn.py Don't cancel receive streams inside `.cancel_actor()` 2021-12-02 15:29:04 -05:00
_state.py Add a no runtime error 2021-04-28 12:23:08 -04:00
_streaming.py Move maybe-raise-error-msg logic into context 2021-12-06 16:32:23 -05:00
_supervise.py Add a nursery "exited" signal 2021-12-02 08:18:04 -05: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