Package io.micronaut.function.client
Interface FunctionInvoker<I,O>
- Type Parameters:
I
- input typeO
- output type
- All Known Implementing Classes:
HttpFunctionExecutor
public interface FunctionInvoker<I,O>
- Since:
- 1.0
- Author:
- graemerocher
-
Method Summary
-
Method Details
-
invoke
Invoke the given function definition for the given input and expected response type.- Parameters:
definition
- The definitioninput
- The inputoutputType
- The response type- Returns:
- The result
-