-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
observable? predicate fails on the results of ignore #37
Comments
Apologies I did not mention the environment: Clojure 1.8.0 |
And some additional info: user> (type (rx/ignore (rx/just 1)))
io.reactivex.internal.operators.observable.ObservableIgnoreElementsCompletable
user> (ancestors (class (rx/ignore (rx/just 1))))
#{io.reactivex.CompletableSource
io.reactivex.Completable
io.reactivex.internal.fuseable.FuseToObservable
java.lang.Object}
user> (type (rx/empty))
io.reactivex.internal.operators.observable.ObservableEmpty
user> (ancestors (class (rx/empty)))
#{java.util.concurrent.Callable
io.reactivex.internal.fuseable.ScalarCallable
io.reactivex.ObservableSource
java.lang.Object
io.reactivex.Observable}
user> (type (rx/just 1))
io.reactivex.internal.operators.observable.ObservableJust
user> (ancestors (class (rx/just 1)))
#{java.util.concurrent.Callable
io.reactivex.internal.fuseable.ScalarCallable
io.reactivex.ObservableSource
java.lang.Object
io.reactivex.Observable} Maybe this suggests (observable?) should test for membership in a couple of interfaces. |
One more note. Found with code like the following (emit the second observable iff the first completes):
|
niwinz
added a commit
that referenced
this issue
Nov 17, 2017
This issue is now fixed in |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This makes sense to me:
But this does not:
The text was updated successfully, but these errors were encountered: