T - public static class Invoke.OnNextErrorFinish<T> extends java.lang.Object implements Observable<T>
| Constructor and Description |
|---|
OnNextErrorFinish(Observable<? extends T> source,
Action1<? super T> onNext,
Action1<? super java.lang.Throwable> onError,
Action0 onFinish)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
public OnNextErrorFinish(@Nonnull
Observable<? extends T> source,
@Nonnull
Action1<? super T> onNext,
@Nonnull
Action1<? super java.lang.Throwable> onError,
@Nonnull
Action0 onFinish)
source - the source sequenceonNext - the action to invokeonError - the error action to invokeonFinish - the finish action to invoke@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super T> observer)
Observableregister in interface Observable<T>observer - the observer of Ts or any supertype of it