public class AsyncUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> CompletableFuture<T> |
async(Callable<T> callable) |
static <T> Function<Predicate<T>,CompletableFuture<T>> |
await(Supplier<T> supplier) |
public static <T> CompletableFuture<T> async(Callable<T> callable)
public static <T> Function<Predicate<T>,CompletableFuture<T>> await(Supplier<T> supplier)
Copyright © 2023. All rights reserved.