We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Maybe.subscribeWith() documentation suggests that it returns a Disposable and contains this example (translated to Kotlin):
Maybe.subscribeWith()
Disposable
val source = Maybe.just(1) val composite = CompositeDisposable() val ms = object : MaybeObserver<Int> { // ... } composite.add(source.subscribeWith(ms))
This code does not compile, because MaybeObserver does not implement Disposable.
MaybeObserver
Should the documentation suggest to use DisposableMaybeObserver here? If yes, I can submit a PR.
DisposableMaybeObserver
The text was updated successfully, but these errors were encountered:
Yes, DisposableMaybeObserver should be there. PR welcome.
Sorry, something went wrong.
Closing as PR got merged.
No branches or pull requests
Maybe.subscribeWith()
documentation suggests that it returns aDisposable
and contains this example (translated to Kotlin):This code does not compile, because
MaybeObserver
does not implementDisposable
.Should the documentation suggest to use
DisposableMaybeObserver
here?If yes, I can submit a PR.
The text was updated successfully, but these errors were encountered: