Package io.reactivex.rxjava3.core
Interface CompletableConverter<R>
-
- Type Parameters:
R
- the output type
- 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 CompletableConverter<@NonNull R>
Convenience interface and callback used by theCompletable.to(io.reactivex.rxjava3.core.CompletableConverter<? extends R>)
operator to turn a Completable into another value fluently.History: 2.1.7 - experimental
- Since:
- 2.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(@NonNull Completable upstream)
Applies a function to the upstream Completable and returns a converted value of typeR
.
-
-
-
Method Detail
-
apply
R apply(@NonNull @NonNull Completable upstream)
Applies a function to the upstream Completable and returns a converted value of typeR
.- Parameters:
upstream
- the upstream Completable instance- Returns:
- the converted value
-
-