| Modifier and Type | Method and Description |
|---|---|
<X> FlowFuture<X> |
FlowFuture.handle(Flows.SerBiFunction<? super T,Throwable,? extends X> fn)
Invoke a handler when a computation is complete, regardless of whether it completed successfully or with an error -
optionally transforming the resulting value or error to a new value.
|
<U,X> FlowFuture<X> |
FlowFuture.thenCombine(FlowFuture<? extends U> other,
Flows.SerBiFunction<? super T,? super U,? extends X> fn)
Combine the result of this future and another future into a single value when both have completed normally:
|
Copyright © 2021. All rights reserved.