1214 |
|
final CompletableFuture<U> dst; |
1215 |
|
HandleCompletion(CompletableFuture<? extends T> src, |
1216 |
|
BiFunction<? super T, Throwable, ? extends U> fn, |
1217 |
< |
final CompletableFuture<U> dst) { |
1217 |
> |
CompletableFuture<U> dst) { |
1218 |
|
this.src = src; this.fn = fn; this.dst = dst; |
1219 |
|
} |
1220 |
|
public final void run() { |
1255 |
|
final Executor executor; |
1256 |
|
ComposeCompletion(CompletableFuture<? extends T> src, |
1257 |
|
Function<? super T, CompletableFuture<U>> fn, |
1258 |
< |
final CompletableFuture<U> dst, Executor executor) { |
1258 |
> |
CompletableFuture<U> dst, Executor executor) { |
1259 |
|
this.src = src; this.fn = fn; this.dst = dst; |
1260 |
|
this.executor = executor; |
1261 |
|
} |