File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
rxjava-core/src/main/java/rx Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1976,7 +1976,8 @@ public static <T> Observable<T> toObservable(Iterable<T> iterable) {
1976
1976
*
1977
1977
* Any object that supports the {@link Future} interface can be converted into an Observable that emits
1978
1978
* the return value of the get() method in the object, by passing the object into the <code>toObservable</code> method.
1979
- * The subscribe method on this synchronously so the Subscription returned doesn't nothing.
1979
+ * <p>
1980
+ * This is blocking so the Subscription returned when calling {@link #subscribe(Observer)} does nothing.
1980
1981
*
1981
1982
* @param future
1982
1983
* the source {@link Future}
@@ -1995,7 +1996,8 @@ public static <T> Observable<T> toObservable(Future<T> future) {
1995
1996
* Any object that supports the {@link Future} interface can be converted into an Observable that emits
1996
1997
* the return value of the get() method in the object, by passing the object into the <code>toObservable</code> method.
1997
1998
* The subscribe method on this synchronously so the Subscription returned doesn't nothing.
1998
- * If the future timesout the {@link TimeoutException} exception is passed to the onError.
1999
+ * <p>
2000
+ * This is blocking so the Subscription returned when calling {@link #subscribe(Observer)} does nothing.
1999
2001
*
2000
2002
* @param future
2001
2003
* the source {@link Future}
You can’t perform that action at this time.
0 commit comments