tractor/tractor
Tyler Goodlet 6c17c7367a Store handle to underlying channel's `.receive()`
This allows for wrapping an existing stream by re-assigning its receive
method to the allocated broadcaster's `.receive()` so as to avoid
expecting any original consumer(s) of the stream to now know about the
broadcaster; this instead mutates the stream to delegate to the new
receive call behind the scenes any time `.subscribe()` is called.

Add a `typing.Protocol` for so called "cloneable channels" until we
decide/figure out a better keying system for each subscription and
mask all undesired typing failures.
2021-09-02 21:12:54 -04:00
..
testing Drop trailing comma 2021-07-06 08:23:29 -04:00
__init__.py Export portal type at top level 2021-09-02 16:22:59 -04:00
_actor.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_broadcast.py Store handle to underlying channel's `.receive()` 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 Unlock pdb tty on all possible net faults 2021-09-02 16:23:38 -04:00
_discovery.py De-densify some code 2021-07-06 08:23:30 -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 Change trace to transport level 2021-07-07 14:31:15 -04:00
_mp_fixup_main.py Fix more stdlib typing issues with latest mypy 2021-02-21 12:48:03 -05:00
_portal.py Mypy fixes 2021-07-08 12:48:34 -04:00
_root.py Don't log cancelled inceptions seen by the root 2021-08-02 21:15:42 -04:00
_spawn.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_state.py Add a no runtime error 2021-04-28 12:23:08 -04:00
_streaming.py Store handle to underlying channel's `.receive()` 2021-09-02 21:12:54 -04:00
_trionics.py Drop shielding on root lock acquire; seems to prevent hangs 2021-09-02 16:23:38 -04:00
log.py Define explicit adapter level methods for mypy 2021-07-08 12:51:35 -04:00
msg.py Adjustments for non-frozen context dataclass change 2021-07-06 08:23:29 -04:00