Package org.forgerock.util.promise
Interface ResultHandler<V>
- 
- Type Parameters:
- V- The type of result consumed by the handler.
 - 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleResult(V result)Invoked when the asynchronous task has completed successfully.
 
- 
- 
- 
Method Detail- 
handleResultvoid handleResult(V result) Invoked when the asynchronous task has completed successfully.- Parameters:
- result- The result of the asynchronous task.
 
 
- 
 
-