-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Retry for Synchronous Generator #64
Comments
retry for generators breaks flow expectations, how would it correctly know what to do after say failure after the 5th item |
Good point. Generators uses exceptions internally. we would need to clone the generator first (itertools.tee) and then catch anything other than the StopIteration or GeneratorExit exception. |
and that would have unexpected cost and side-effects as well |
Would you accept a documentation PR to clarify this? |
Could we support retry for Synchronous Generator?
The text was updated successfully, but these errors were encountered: