wire

fun wire(model: AggregateModel<*>, command: Command<*>): CommandWire

command, a command of model, in its wire form.


fun wire(type: String, command: Command<*>, replyTo: ReplyTo? = null): CommandWire

command, of the command type named type, in its wire form, with the replyTo of a rejection.