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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Oinvoke(FunctionDefinition definition, I input, io.micronaut.core.type.Argument<O> outputType)Invoke the given function definition for the given input and expected response type.
-
-
-
Method Detail
-
invoke
O invoke(FunctionDefinition definition, I input, io.micronaut.core.type.Argument<O> outputType)
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
-
-