I - Input typeO - Output typepublic abstract class ContinuousUseCase<I,O> extends RxUseCase<I,O> implements Continuous<I,O>
Observable is being subscribed to,
can emit items continuously, and completes normally or with failure by invoking the
Continuous.Notifier respective methods.
When its Observable is being un-subscribed from, the
Continuous.cancel(Object) method will get invoked.Continuous.Notifier<O>| Constructor and Description |
|---|
ContinuousUseCase() |
| Modifier and Type | Method and Description |
|---|---|
protected io.reactivex.Observable<Response<O>> |
execute(I input)
Create use-case observable with input.
|
addDecorator, create, create, create, decorateWith, decorateWith, decorateWithNothing, fromAsynchronous, fromContinuous, fromSource, fromSynchronous, get, get, get, justFail, justSucceed, origin, removeDecorator, safeCreate, toRx, toRx, toRxclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitact, cancelprotected final io.reactivex.Observable<Response<O>> execute(I input)
RxUseCaseRxUseCase.create(), RxUseCase.create(Object), RxUseCase.create(Request) methods.
Implement it to define the logic/mechanism/action that this use-case represents.