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