-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Creating Observables in Scala: Approach04 #561
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
Creating Observables in Scala: Approach04 #561
Conversation
and move Java types <=> Scala types conversions from ImplicitFunctionConversions to JavaConversions
RxJava-pull-requests #488 SUCCESS |
Is this a breaking change for Scala? |
Yes |
This needs to be rebased. Since this is breaking, it makes sense to merge before releasing 0.16.0 with the other breaking Scala changes. I would appreciate if you provided release notes for this and the other breaking Scala changes to include when I release 0.16.0. |
…a-constructors Conflicts: language-adaptors/rxjava-scala/src/examples/scala/rx/lang/scala/examples/RxScalaDemo.scala language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/ImplicitFunctionConversions.scala language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Observable.scala
rebasing done |
RxJava-pull-requests #494 SUCCESS |
Creating Observables in Scala: Approach04
Creating Observables in Scala: Approach04
This implements approach04 from #549 .
I also moved the
toScalaXxx
/toJavaXxx
methods into a separate file, so that one can import only these without importing the implicit function conversions.There's now also
Observable.from(Future)
and to test it, some tweaks inNotification
were necessary.Note that this is a breaking change.