Package dev.enola.common.concurrent
Class ListenableFutures
java.lang.Object
dev.enola.common.concurrent.ListenableFutures
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidwhenComplete(ListenableFuture<T> future, BiConsumer<? super @Nullable T, ? super @Nullable Throwable> action)
-
Method Details
-
whenComplete
public static <T> void whenComplete(ListenableFuture<T> future, BiConsumer<? super @Nullable T, ? super @Nullable Throwable> action)
-