Skip to content
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

Forward errors from trigger in takeUntil #165

Merged
merged 4 commits into from
Mar 1, 2023
Merged

Conversation

natebosch
Copy link
Member

It doesn't make sense to leave the error unhandled in all cases. When we
can handle the error through the stream, do so, otherwise ignore it.

This also makes takeUntil more useful for cases like timeouts.

It doesn't make sense to leave the error unhandled in all cases. When we
can handle the error through the stream, do so, otherwise ignore it.

This also makes `takeUntil` more useful for cases like timeouts.
lib/src/take_until.dart Outdated Show resolved Hide resolved
@natebosch natebosch merged commit 08e4228 into master Mar 1, 2023
@natebosch natebosch deleted the take-until-error branch March 1, 2023 01:13
mosuem pushed a commit to dart-lang/tools that referenced this pull request Dec 11, 2024
)

It doesn't make sense to leave the error unhandled in all cases. When we
can handle the error through the stream, do so, otherwise ignore it.

This also makes `takeUntil` more useful for cases like timeouts.
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.

2 participants