Interface RpcDefinitions.RpcFunc0<O>

Type Parameters:
O - the concrete RPC output type
All Superinterfaces:
Serializable
Enclosing class:
RpcDefinitions
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RpcDefinitions.RpcFunc0<O> extends Serializable
Represents an RPC function with no application input and one output.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(Context context)
    Executes the RPC implementation on the worker.
  • Method Details

    • execute

      RPCResult<O> execute(Context context)
      Executes the RPC implementation on the worker.
      Parameters:
      context - the invocation-scoped Flow context
      Returns:
      the typed RPC result