-
Notifications
You must be signed in to change notification settings - Fork 176
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
Add Lwt_retry library #1032
Add Lwt_retry library #1032
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Some small nitpick-ish comments and a couple of actual suggestions. Feel free to push back though, I could very well have gotten something wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the careful review! I think I've addressed all the suggestions and corrections.
Thanks! I'll have a look at the dune version thing this week |
34aefc1
to
71c6731
Compare
Rebased on #1035 so I could update the package author and maintainer data. I'll need to rebase on master once that is merged in. The only CI failures remain the FreeBSD and MacOS failures that are occurring in the trunk:
|
you can go ahead @shonfeder |
71c6731
to
482273d
Compare
Co-authored-by: Raphaël Proust <raphael-proust@users.noreply.github.com>
Also add test to guard against this logic error. Addresses https://github.com/ocsigen/lwt/pull/1032/files/efca0a8174ee9f888c6bbb4beca0258ac639f58c#r1806815960
482273d
to
63e0837
Compare
Rebased! Should be good for a final review and/or merge! Thanks again for the reviews and guidance along the way, @raphael-proust :) |
Anything else you'd like to see here @raphael-proust ? |
Ready to merge unless the CI shows I messaed up something with my suggested+applied changes |
Thank you for the fixes! |
Thanks for the contribution!! |
Adds the
Lwt_retry
library discussed in #1028 as a separate package. I believe all guidance suggested there by @raphael-proust has been incorporated. Thanks for that!I did not add an
iter
function, since I think this doesn't add any value over usingLwt_stream.iter
directly.I've tried to make the code, documentation, and tests consistent with the style I found in other locations in the code base.