Package io.micronaut.function.client
Interface FunctionInvokerChooser
- All Known Implementing Classes:
HttpFunctionExecutor
public interface FunctionInvokerChooser
Strategy interface for choosing a
FunctionInvoker
.- Since:
- 1.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescription<I,
O> Optional<FunctionInvoker<I, O>> choose
(FunctionDefinition definition) Chooses aFunctionInvoker
.
-
Method Details
-
choose
Chooses aFunctionInvoker
.- Type Parameters:
I
- input typeO
- output type- Parameters:
definition
- The definition- Returns:
- An
Optional
instance ofFunctionInvoker
-