Registers separate success and failure callbacks to be run when the Future's computation is plain java.util.concurrent.Future#isDone() complete or, if the computation is already complete, immediately. There is no guaranteed ordering of execution of callbacks, but any callback adde
(ListenableFuture<V> future, FutureCallback<? super V> callback)
| 1090 | |
| 1091 | |
| 1092 | public static <V> void addCallback(ListenableFuture<V> future, FutureCallback<? super V> callback) { |
| 1093 | addCallback(future, callback, directExecutor()); |
| 1094 | } |
| 1095 | |
| 1096 | /** |
| 1097 | * Registers separate success and failure callbacks to be run when the {@code Future}'s |
nothing calls this directly
no test coverage detected