@FunctionalInterface public interface SuccessCallback<T>
ListenableFuture.| 限定符和类型 | 方法和说明 |
|---|---|
void |
onSuccess(T result)
Called when the
ListenableFuture completes with success. |
void onSuccess(@Nullable T result)
ListenableFuture completes with success.
Note that Exceptions raised by this method are ignored.
result - the result