public interface Callback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onError(ErrorInfo reason)
Called when the associated operation completes with an error.
|
void |
onSuccess(T result)
Called when the associated operation completes successfully,
|