YsonCounter

data class YsonCounter(val value: YsonValue) : YsonValue

YsonCounter represents a Counter CRDT, serialized as Counter(Int(...)) or Counter(Long(...)).

value is constrained at construction to be either YsonInt or YsonLong.

Constructors

Link copied to clipboard
constructor(value: YsonValue)

Properties

Link copied to clipboard