reta commented on a change in pull request #451: CXF-7854: Refactor RxJava2
Flowable and Observable Rx Invokers to not…
URL: https://github.com/apache/cxf/pull/451#discussion_r221784067
##########
File path:
rt/rs/extensions/rx2/src/main/java/org/apache/cxf/jaxrs/rx2/client/ObservableRxInvokerImpl.java
##########
@@ -147,34 +148,90 @@ public ObservableRxInvokerImpl(WebClient wc,
ExecutorService ex) {
@Override
public <T> Observable<T> method(String name, Entity<?> entity, Class<T>
responseType) {
+
+ Observable<T> observable = Observable.create(new
ObservableOnSubscribe<T>() {
Review comment:
If you think previous comments for `Flowable` worth the change, we could
replicate it for `Observable` as well.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services