Package io.reactivex.rxjava3.core
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.
@FunctionalInterface public interface CompletableOperatorInterface to map/wrap a downstream observer to an upstream observer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull CompletableObserverapply(@NonNull CompletableObserver observer)Applies a function to the childCompletableObserverand returns a new parentCompletableObserver.
-
-
-
Method Detail
-
apply
@NonNull @NonNull CompletableObserver apply(@NonNull @NonNull CompletableObserver observer) throws java.lang.Throwable
Applies a function to the childCompletableObserverand returns a new parentCompletableObserver.- Parameters:
observer- the childCompletableObserverinstance- Returns:
- the parent
CompletableObserverinstance - Throws:
java.lang.Throwable- on failure
-
-