We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I ran into problems trying to get channels to reliably tear down using StreamSocket.aclose() as per python-trio/trio/pull/460.
StreamSocket.aclose()
@njsmith was very helpful in pointing out that until this is resolved streams need to be cancelled using a separate scope / task which is what I ended up doing with open_portal() but I feel like this can be made even fancier according to his answer on SO.
open_portal()
Definitely worth toying with.
The text was updated successfully, but these errors were encountered:
Also @nonsleepr on July 6, 2018 10:30 AM came up with an example that might not require the extra nursery.
nursery
Sorry, something went wrong.
python-trio/trio#460 Is in so we can toy with dropping the extra nursery that was added to work around the underlying issue.
This probably also ties into #206.
No branches or pull requests
I ran into problems trying to get channels to reliably tear down using
StreamSocket.aclose()
as per python-trio/trio/pull/460.@njsmith was very helpful in pointing out that until this is resolved streams need to be cancelled using a separate scope / task which is what I ended up doing with
open_portal()
but I feel like this can be made even fancier according to his answer on SO.Definitely worth toying with.
The text was updated successfully, but these errors were encountered: