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.

@FunctionalInterface public interface InstanceCbFuture<F>
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 Type
    Method
    Description
    void
    accept(F future)
    Handles the result of a CompletableFuture operation.
    andThen(InstanceCbFuture<? super F> after)
     
  • Method Details

    • accept

      void accept(F future)
      Handles the result of a CompletableFuture operation.
      Parameters:
      future - the result of a CompletableFuture operation.
    • andThen

      default InstanceCbFuture<F> andThen(InstanceCbFuture<? super F> after)