Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ensure AsyncThrowingChannel reliably throws errors when racing against iteration #167

New issue

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

Closed

Conversation

phausler
Copy link
Member

@phausler phausler commented Jun 16, 2022

Another pull request (#165) revealed a test that indicated flakiness in the potential terminal states of AsyncThrowingChannels when resolving to an error state. This ended up being that if the emission of the failure would happen before the iteration it would potentially set the state to finished, but not yield a failure, making subsequent calls to iteration produce nil.

@phausler
Copy link
Member Author

Closing in favor of pursuing this via #164

@phausler phausler closed this Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant