idOf
suspend fun idOf(type: AggregateType, tenantId: String, requestId: String, scope: Scope = Scope.NONE, ownership: Ownership = Ownership.OWNER): String
The id of the aggregate of type that a creation command of request requestId in tenantId, in scope, targets: that of the stream its request committed, else a new one. An aggregate of ownership checks only that part of the scope.