Interface FunctionInvoker<I,​O>

  • Type Parameters:
    I - input type
    O - output type
    All Known Implementing Classes:
    HttpFunctionExecutor

    public interface FunctionInvoker<I,​O>
    Since:
    1.0
    • 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 definition
        input - The input
        outputType - The response type
        Returns:
        The result