Interface ResultHandler<V>

Type Parameters:
V - The type of result consumed by the handler.
All Known Subinterfaces:
LdapResultHandler<S>
All Known Implementing Classes:
PromiseImpl
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 ResultHandler<V>
A completion handler for consuming the results of asynchronous tasks.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleResult(V result)
    Invoked when the asynchronous task has completed successfully.
  • Method Details

    • handleResult

      void handleResult(V result)
      Invoked when the asynchronous task has completed successfully.
      Parameters:
      result - The result of the asynchronous task.