We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00f4488 commit 4964d5dCopy full SHA for 4964d5d
rxjava-core/src/main/java/rx/Observable.java
@@ -184,7 +184,9 @@ protected Observable(Action1<Operator<? super T>> f) {
184
>>>>>>> Added Observable.bind
185
*
186
* @param <T>
187
+ * @deprecated
188
*/
189
+ @Deprecated
190
public static interface OnSubscribeFunc<T> extends Function {
191
public Subscription onSubscribe(Observer<? super T> t1);
192
}
@@ -239,6 +241,7 @@ public final static <T> Observable<T> create(final Action1<Operator<? super T>>
239
241
return new Observable<T>(f);
240
242
243
244
245
public final static <T> Observable<T> create(final OnSubscribeFunc<T> func) {
246
return new Observable<T>(new Action1<Operator<? super T>>() {
247
0 commit comments