public interface RxSubscriber
RxListener
listeners.Modifier and Type | Method and Description |
---|---|
default <T> void |
subscribe(CompletionStage<? extends T> future,
Consumer<T> listener) |
<T> void |
subscribe(CompletionStage<? extends T> future,
RxListener<T> listener)
Subscribes the given listener to the given Java 8 CompletableFuture.
|
default <T> void |
subscribe(IObservable<? extends T> observable,
Consumer<T> listener) |
default <T> void |
subscribe(IObservable<? extends T> observable,
RxListener<T> listener) |
default <T> void |
subscribe(ListenableFuture<? extends T> future,
Consumer<T> listener) |
<T> void |
subscribe(ListenableFuture<? extends T> future,
RxListener<T> listener)
Subscribes the given listener to the given Guava ListenableFuture.
|
default <T> void |
subscribe(Observable<? extends T> observable,
Consumer<T> listener) |
<T> void |
subscribe(Observable<? extends T> observable,
RxListener<T> listener)
Subscribes the given listener to the given observable.
|
default <T> Disposable |
subscribeDisposable(CompletionStage<? extends T> future,
Consumer<T> listener) |
<T> Disposable |
subscribeDisposable(CompletionStage<? extends T> future,
RxListener<T> listener)
Subscribes the given listener to the given Java 8 CompletableFuture.
|
default <T> Disposable |
subscribeDisposable(IObservable<? extends T> observable,
Consumer<T> listener) |
default <T> Disposable |
subscribeDisposable(IObservable<? extends T> observable,
RxListener<T> listener) |
default <T> Disposable |
subscribeDisposable(ListenableFuture<? extends T> future,
Consumer<T> listener) |
<T> Disposable |
subscribeDisposable(ListenableFuture<? extends T> future,
RxListener<T> listener)
Subscribes the given listener to the given Guava ListenableFuture.
|
default <T> Disposable |
subscribeDisposable(Observable<? extends T> observable,
Consumer<T> listener) |
<T> Disposable |
subscribeDisposable(Observable<? extends T> observable,
RxListener<T> listener)
Subscribes the given listener to the given observable.
|
<T> void subscribe(Observable<? extends T> observable, RxListener<T> listener)
<T> void subscribe(ListenableFuture<? extends T> future, RxListener<T> listener)
<T> void subscribe(CompletionStage<? extends T> future, RxListener<T> listener)
default <T> void subscribe(Observable<? extends T> observable, Consumer<T> listener)
default <T> void subscribe(IObservable<? extends T> observable, RxListener<T> listener)
default <T> void subscribe(IObservable<? extends T> observable, Consumer<T> listener)
default <T> void subscribe(ListenableFuture<? extends T> future, Consumer<T> listener)
default <T> void subscribe(CompletionStage<? extends T> future, Consumer<T> listener)
<T> Disposable subscribeDisposable(Observable<? extends T> observable, RxListener<T> listener)
<T> Disposable subscribeDisposable(ListenableFuture<? extends T> future, RxListener<T> listener)
<T> Disposable subscribeDisposable(CompletionStage<? extends T> future, RxListener<T> listener)
default <T> Disposable subscribeDisposable(Observable<? extends T> observable, Consumer<T> listener)
default <T> Disposable subscribeDisposable(IObservable<? extends T> observable, RxListener<T> listener)
default <T> Disposable subscribeDisposable(IObservable<? extends T> observable, Consumer<T> listener)
default <T> Disposable subscribeDisposable(ListenableFuture<? extends T> future, Consumer<T> listener)
default <T> Disposable subscribeDisposable(CompletionStage<? extends T> future, Consumer<T> listener)