Package hu.akarnokd.rxjava3.joins
Class Plan<R>
- java.lang.Object
-
- hu.akarnokd.rxjava3.joins.Plan<R>
-
- Type Parameters:
R- the result type
public abstract class Plan<R> extends java.lang.ObjectRepresents an execution plan for join patterns.
-
-
Constructor Summary
Constructors Constructor Description Plan()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static <T> Consumer<java.lang.Throwable>onErrorFrom(Observer<T> observer)
-
-
-
Method Detail
-
onErrorFrom
protected static <T> Consumer<java.lang.Throwable> onErrorFrom(Observer<T> observer)
Extracts a method reference to the Observer'sonErrormethod in the form of anConsumer.Java 8: observer::onError
- Type Parameters:
T- the value type- Parameters:
observer- theObserverto use- Returns:
- an action which calls observer's
onErrormethod.
-
-