public interface Command<R,T>
| Modifier and Type | Method and Description |
|---|---|
rx.Single<T> |
execute(R request)
Command logic implementation
|
default rx.Single<T> |
fallback(Throwable throwable,
R request)
If
execute(Object) produce error,
this method will executed as fallback method |
rx.Single<T> execute(R request)
request - command requestdefault rx.Single<T> fallback(Throwable throwable, R request)
execute(Object) produce error,
this method will executed as fallback methodthrowable - error from execute(Object)request - command requestCopyright © 2021 Pivotal Software, Inc.. All rights reserved.