Package io.micronaut.function.executor
Interface FunctionExecutor<I,O>
- Type Parameters:
I
- input typeO
- output type
- All Known Implementing Classes:
AbstractFunctionExecutor
public interface FunctionExecutor<I,O>
Allows executing the function configured by LocalFunctionRegistry.FUNCTION_NAME
Or a named function
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
Modifier and TypeMethodDescriptionExecute the function configured byLocalFunctionRegistry.FUNCTION_NAME
.
-
Method Details
-
execute
Execute the function configured byLocalFunctionRegistry.FUNCTION_NAME
.- Parameters:
input
- The input- Returns:
- The output
-