Functions

Link copied to clipboard

The command being decided where context runs: its element, else the one a @Blocking decide function keeps on this thread (onThread), else the one a carrier finds in another part of context (DecidingCarrier), else null.

Link copied to clipboard
fun requestIdOf(type: AggregateType, tenantId: String, requestId: String, index: Int): String

The request id of the index-th command (from 0) sent while deciding the request requestId of type in tenantId: a name-based UUID of the aggregate type, the tenant, the request id and the index, in DerivedIds.encoded. It leaves out the aggregate's id, which every attempt of a request does not share.