I - Input typeO - Output typepublic abstract class AsynchronousUseCase<I,O> extends RxUseCase<I,O> implements Asynchronous<I,O>
Observable is being subscribed to
and completes with either success or failure by invoking the
Asynchronous.Callback respective methods.Asynchronous.Callback<O>| Constructor and Description |
|---|
AsynchronousUseCase() |
| 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, waitactprotected 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.