registerCommadableMethod method

void registerCommadableMethod (String method, Schema schema, Future action(String correlationId, Parameters args))

Registers a commandable method in this objects GRPC server (service) by the given name.,

  • method the GRPC method name.
  • schema the schema to use for parameter validation.
  • action the action to perform at the given route.