Package com.helixframework.time
Interface Timeout.FallbackFunction<T>
- Type Parameters:
T- return type of the function
- Enclosing class:
- Timeout
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function to execute in the event of a timeout.
-
Method Summary
-
Method Details
-
execute
T execute()Executes the fallback function.- Returns:
- result of the fallback function
-