receiptOf

fun receiptOf(envelope: Envelope): Any

What the receipt envelope holds: a CommandReceipt.Committed when its payload carries a result, else a CommandReceipt.Rejected.