T
- The type returned on successF
- The type returned on failurepublic interface Callback<T,F>
Modifier and Type | Method and Description |
---|---|
void |
onFailure(F reason)
Called when an asynchronous call fails to complete normally.
|
void |
onSuccess(T result)
Called when an asynchronous call completes successfully.
|
Copyright © 2018. All rights reserved.