R - the result typepublic abstract class Plan<R>
extends java.lang.Object
| Constructor and Description |
|---|
Plan() |
| Modifier and Type | Method and Description |
|---|---|
protected static <T> io.reactivex.functions.Consumer<java.lang.Throwable> |
onErrorFrom(io.reactivex.Observer<T> observer)
Extracts a method reference to the Observer's
onError
method in the form of an Consumer. |
protected static <T> io.reactivex.functions.Consumer<java.lang.Throwable> onErrorFrom(io.reactivex.Observer<T> observer)
onError
method in the form of an Consumer.
Java 8: observer::onError
T - the value typeobserver - the Observer to useonError method.