15ead6b561
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. |
||
---|---|---|
.. | ||
conftest.py | ||
test_cancellation.py | ||
test_debugger.py | ||
test_discovery.py | ||
test_docs_examples.py | ||
test_local.py | ||
test_multi_program.py | ||
test_pubsub.py | ||
test_rpc.py | ||
test_spawning.py | ||
test_streaming.py |