| Modifier and Type | Method and Description |
|---|---|
TransformableFuture<T> |
TransformableFuture.whenDoneOrCancelled(FutureDoneCallback callback)
An asynchronous "finally" block.
|
TransformableFuture<Void> |
NestedTransformableFutureIgnoringReturn.whenDoneOrCancelled(FutureDoneCallback callback)
Because the result in this context is the result of a nested future, and "done" implies
having a result, we put off calling the callbacks until the nested future is done to
coincide with when this future has a result.
|
TransformableFuture<U> |
NestedTransformableFuture.whenDoneOrCancelled(FutureDoneCallback callback)
Because the result in this context is the result of a nested future, and "done" implies
having a result, we put off calling the callbacks until the nested future is done to
coincide with when this future has a result.
|
Copyright © 2016. All rights reserved.