committed

abstract suspend fun committed(committed: CommandReceipt.Committed<*>, command: Class<*>, wait: WaitContext? = null): List<String>?

Hands committed, of a command of the class command, to the saga's @OnCommitted handler of it. wait is the rest of the command's wait chain past its commit, if any: when its next hop is that handler, the handler's commands carry it on and the hop is signalled, as a saga's hop is.