Companion

Functions

Link copied to clipboard

The cursor after ref in a log ordered by id, then tenant: the id's length, the id, the tenant.

Link copied to clipboard
fun keyOf(cursor: String): Pair<String, String>

The aggregate id and the tenant of cursor (cursorOf).

Link copied to clipboard
fun of(refs: List<AggregateRef>, limit: Int): AggregatePage

The page of refs, at most limit of them: its cursor is the last one's (cursorOf) when it is full.