U
- The task's result typepublic abstract static class AsyncOperation.CompletionHandler<U>
extends java.lang.Object
success(Object)
function throws an exception, the failure(Throwable)
function will also be calledConstructor and Description |
---|
AsyncOperation.CompletionHandler() |
public void success(U result)
result
- Result of the taskpublic void failure(java.lang.Throwable error)
error
- Error thrown by the task