tractor/tests
Tyler Goodlet 15ead6b561 Add a way to shield a stream's underlying channel
Add a ``tractor._portal.StreamReceiveChannel.shield_channel()`` context
manager which allows for avoiding the closing of an IPC stream's
underlying channel for the purposes of task re-spawning. Sometimes you
might want to cancel a task consuming a stream but not tear down the IPC
between actors (the default). A common use can might be where the task's
"setup" work might need to be redone but you want to keep the
established portal / channel in tact despite the task restart.

Includes a test.
2020-12-16 21:42:28 -05:00
..
conftest.py Factor `repodir()` helper into conftest.py 2020-10-13 14:49:31 -04:00
test_cancellation.py Skip sync sleep test on windows 2020-10-13 15:26:46 -04:00
test_debugger.py Add race case handling for mp backend 2020-12-12 13:30:14 -05:00
test_discovery.py Revert "Change to relative conftest.py imports" 2020-10-13 14:42:02 -04:00
test_docs_examples.py Factor `repodir()` helper into conftest.py 2020-10-13 14:49:31 -04:00
test_local.py Revert "Change to relative conftest.py imports" 2020-10-13 14:42:02 -04:00
test_multi_program.py Revert "Change to relative conftest.py imports" 2020-10-13 14:42:02 -04:00
test_pubsub.py Actor cancellation is now more latent; loosen timeing 2020-08-08 15:16:10 -04:00
test_rpc.py Pass a copy of the expected exposed modules 2020-09-24 10:12:10 -04:00
test_spawning.py Revert "Change to relative conftest.py imports" 2020-10-13 14:42:02 -04:00
test_streaming.py Add a way to shield a stream's underlying channel 2020-12-16 21:42:28 -05:00