T - The type of result object that the operation producespublic static interface Background.SuccessOrError<T> extends Background.Success<T>
| Modifier and Type | Method and Description |
|---|---|
Background.Success<T> |
onError(Action<? super Throwable> errorHandler)
Specifies the action to take should an error occur during the blocking operation.
|
thenBackground.Success<T> onError(Action<? super Throwable> errorHandler)
errorHandler - The action to take