# CompletableFuture
## CompletableFuture
- Future.get()
- Future.get(long, TimeUnit)
- Java 8 CompletableFuture CompletableFuture thenAccept(Consumer other, Runnable action)
```
```java
CompletableFuture thenRun(Runnable action)
CompletableFuture thenRunAsync(Runnable action)
CompletableFuture thenRunAsync(Runnable action, Executor executor)
```
##
```java
CompletableFuture thenCombine(CompletionStage... cfs)
static CompletableFuture anyOf(CompletableFuture... cfs)
```
[CompletableFuture 20 ](https://zhuanlan.zhihu.com/p/34921166)