Interface CompletableOperator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to map/wrap a downstream observer to an upstream observer.
-
Method Summary
Modifier and TypeMethodDescriptionapply(@NonNull CompletableObserver observer) Applies a function to the childCompletableObserverand returns a new parentCompletableObserver.
-
Method Details
-
apply
@NonNull @NonNull CompletableObserver apply(@NonNull @NonNull CompletableObserver observer) throws Throwable Applies a function to the childCompletableObserverand returns a new parentCompletableObserver.- Parameters:
observer- the childCompletableObserverinstance- Returns:
- the parent
CompletableObserverinstance - Throws:
Throwable- on failure
-