-
Notifications
You must be signed in to change notification settings - Fork 7.6k
2.x: ObservableEmitter/FlowableEmitter Javadoc Improvement #6390
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
Comments
You mean replace "cancels" in ObservableEmitter with "disposes"? |
I mean the documentation should explicitly say that
|
I was under the impression that in general, an |
I'm not sure if we want to put that level of documentation detail into those interfaces. There is a short example in the Observable JavaDocs that demonstrates disposing a sequence which is currently not there for
A subscriber/observer cancels/disposes the dedicated subscription object established when calling |
Does this mean that the |
Technically, yes. |
If you want, you can create a PR with your proposed documentation changes. |
Closing via #6535 for 3.x. If you want, you can backport it to 2.x. |
The javadoc for
ObservableEmtter
states:Similarly, the javadoc for
FlowableEmitter
states:when the downstream cancels the flow
is ambiguous for a noobie like me. It isn't clear that a subscriber callingdispose
will[cancel] the flow
. It would be very helpful if the relationship between the*Emitter
and the downstream subscriber was more explicit.The text was updated successfully, but these errors were encountered: