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.
 
A completion handler for consuming the results of asynchronous tasks.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidhandleResult(V result) Invoked when the asynchronous task has completed successfully. 
- 
Method Details
- 
handleResult
Invoked when the asynchronous task has completed successfully.- Parameters:
 result- The result of the asynchronous task.
 
 -