submit method

String submit(
  1. CommandSubmit submit
)

Build, send, and fold a CommandSubmit. Returns the command id.

Implementation

String submit(CommandSubmit submit) {
  final message = CommandMessageSubmit(submit);
  _transport.send(message);
  projection.applyMessage(message);
  return submit.commandId;
}