committedResult
fun committedResult(command: Command<*>, version: Int = 1, aggregateId: String = if (command.ref.isAssigned) command.ref.id else "${command.ref.type.name}-1", duplicate: Boolean = false): CommandResult
The result a target answers a synchronous call of command with when it committed it: at its COMMITTED hop, on the aggregate aggregateId (the command's, or <aggregate>-1 for a creation that left its id to the target), at version, duplicate when the target had already committed the request.