-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
2.x: Improve JavaDoc of retryWhen() operators #5773
Conversation
Codecov Report
@@ Coverage Diff @@
## 2.x #5773 +/- ##
============================================
- Coverage 96.24% 96.23% -0.02%
- Complexity 5811 5814 +3
============================================
Files 634 634
Lines 41607 41607
Branches 5770 5770
============================================
- Hits 40046 40041 -5
- Misses 629 632 +3
- Partials 932 934 +2
Continue to review full report at Codecov.
|
* Example: | ||
* | ||
* This retries 3 times, each time incrementing the number of seconds it waits. | ||
* | ||
* <pre><code> | ||
* Publisher.create((Subscriber<? super String> s) -> { | ||
* Flowable.create((Subscriber<? super String> s) -> { |
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.
👍
Spotted a few other mistakes in there. |
Just noticed, in the |
Indeed. Updated the PR and fixed the blockingX() calls in there as well. |
This PR improves the Javadoc of the
retryWhen
operators in the 5 base classes, adds example to handling an asynchronous source with delay where an earlyonComplete
may cause unexpected terminations otherwise.Related: #5772.