Package org.hawaiiframework.async
Interface AsyncCallable<T>
- Type Parameters:
T- The return type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to allow wrapping of an async call.
-
Method Summary
-
Method Details
-
invoke
The call to invoke asynchronously.- Returns:
- T the return type.
- Throws:
Exception- a generic indication for the actual Exception.
-