public interface LifecycleTransformer<T>
extends rx.Observable.Transformer<T,T>
Observable, Single and Completable).
Out of the box, it works for Observable. But it can be easily converted
for Single or for Completable.| Modifier and Type | Method and Description |
|---|---|
rx.Completable.CompletableTransformer |
forCompletable() |
<U> rx.Single.Transformer<U,U> |
forSingle() |
@Nonnull @CheckReturnValue <U> rx.Single.Transformer<U,U> forSingle()
Single streams.
If interrupted by the lifecycle, this stream throws onError(CancellationException).@Nonnull @CheckReturnValue rx.Completable.CompletableTransformer forCompletable()
Completable streams.
If interrupted by the lifecycle, this stream throws onError(CancellationException).