committedReceipt

fun committedReceipt(command: Command<*>, executionId: ExecutionId, version: Int = 1, aggregateId: String = command.ref.id, duplicate: Boolean = false, commandType: String = commandTypeOf(command)): CommandReceipt.Committed<Any>

The success receipt of command, committed on the aggregate aggregateId at version (duplicate when its target had already committed the request), as the runtime hands it to the @OnCommitted handler of the saga whose execution executionId derived the command: for ProcessorSpec.whenCommitted.