Interface InstanceCbFuture<F>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a callback that accepts the result of a CompletableFuture. The callback is invoked on an Object instance.
- Author:
- Felix Project Team
-
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the result of a CompletableFuture operation.default InstanceCbFuture<F> andThen(InstanceCbFuture<? super F> after)
-
Method Details
-
accept
Handles the result of a CompletableFuture operation.- Parameters:
future- the result of a CompletableFuture operation.
-
andThen
-