T
- the result type@FunctionalInterface
public interface SuccessCallback<T>
ListenableFuture
.Modifier and Type | Method and Description |
---|---|
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