Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/java/rx/Observable.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ protected Observable(OnSubscribe<T> f) {
* @return an Observable that, when a {@link Subscriber} subscribes to it, will execute the specified
* function
* @see <a href="http://reactivex.io/documentation/operators/create.html">ReactiveX operators documentation: Create</a>
* @deprecated this API is very delicate and easy to misuse for typical user and mostly intended for internal usage.
* Please use other operators or {@link #fromAsync(Action1, AsyncEmitter.BackpressureMode)} if you need
* to turn some callback-styled code into {@link Observable}.
*/
@Deprecated
public static <T> Observable<T> create(OnSubscribe<T> f) {
return new Observable<T>(RxJavaHooks.onCreate(f));
}
Expand Down