-
Notifications
You must be signed in to change notification settings - Fork 7
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
What happens to iterators after they error? #92
Comments
My proposal is that
|
I don't think we can enforce that; errors can happen at any random moment.
Check.
Note that proper destruction might not be possible anymore after error, but yes, best-effort destruction seems appropriate. I wonder if there are scenarios where we would not want this though; @rubensworks? |
Yes, I think destroying after error makes sense (at least as default). Can't think of any cases atm where you wouldn't want this. |
Rather than immediately forwarding an error we can store a
Hmm good point |
Should they be closed? Destroyed? Should there be a special stated for iterators that errored?
Or is recovery possible?
The text was updated successfully, but these errors were encountered: