@Private
@Unstable
public final class LambdaUtils
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static <T> java.util.concurrent.CompletableFuture<T> |
eval(java.util.concurrent.CompletableFuture<T> result,
java.util.concurrent.Callable<T> call) |
Utility method to evaluate a callable and fill in the future
with the result or the exception raised.
|
public static <T> java.util.concurrent.CompletableFuture<T> eval(java.util.concurrent.CompletableFuture<T> result,
java.util.concurrent.Callable<T> call)
T - type of futureresult - future for the result.call - callable to invoke.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.