Skip to content

Commit

Permalink
Add newsfragment
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Sep 2, 2021
1 parent b4d95e9 commit 558c44f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions newsfragments/230.removal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Drop stream "shielding" support which was originally added to sidestep
a cancelled call to ``.receive()``

In the original api design a stream instance was returned directly from
a call to ``Portal.run()`` and thus there was no "exit phase" to handle
cancellations and errors which would trigger implicit closure. Now that
we have said enter/exit semantics with ``Portal.open_stream_from()`` and
``Context.open_stream()`` we can drop this implicit (and arguably
confusing) behavior.

0 comments on commit 558c44f

Please sign in to comment.