| Modifier and Type | Method and Description |
|---|---|
<U> FlowFuture<Void> |
FlowFuture.thenAcceptBoth(FlowFuture<U> other,
Flows.SerBiConsumer<T,U> fn)
Perform an action when this and another future have both completed normally:
|
FlowFuture<T> |
FlowFuture.whenComplete(Flows.SerBiConsumer<T,Throwable> fn)
Perform an action when a computation is complete, regardless of whether it completed successfully or with an error.
|
Copyright © 2021. All rights reserved.