Package org.forgerock.util.promise
Interface ResultHandler<V>
- Type Parameters:
V
- The type of result consumed by the handler.
- All Known Implementing Classes:
PromiseImpl
public interface ResultHandler<V>
A completion handler for consuming the results of asynchronous tasks.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleResult
(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.
-