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.
Interface to map/wrap a downstream observer to an upstream observer.
-
Method Summary
Modifier and TypeMethodDescriptionapply
(@NonNull CompletableObserver observer) Applies a function to the childCompletableObserver
and returns a new parentCompletableObserver
.
-
Method Details
-
apply
@NonNull @NonNull CompletableObserver apply(@NonNull @NonNull CompletableObserver observer) throws Throwable Applies a function to the childCompletableObserver
and returns a new parentCompletableObserver
.- Parameters:
observer
- the childCompletableObserver
instance- Returns:
- the parent
CompletableObserver
instance - Throws:
Throwable
- on failure
-