Package io.reactivex.rxjava3.core
Interface CompletableTransformer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Convenience interface and callback used by the compose operator to turn a
Completable
into another
Completable
fluently.-
Method Summary
Modifier and TypeMethodDescriptionapply
(@NonNull Completable upstream) Applies a function to the upstreamCompletable
and returns aCompletableSource
.
-
Method Details
-
apply
Applies a function to the upstreamCompletable
and returns aCompletableSource
.- Parameters:
upstream
- the upstreamCompletable
instance- Returns:
- the transformed
CompletableSource
instance
-