CrdtElement

abstract class CrdtElement

CrdtElement represents an element that has TimeTickets.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val createdAt: TimeTicket
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun deepCopy(): CrdtElement
Link copied to clipboard
abstract fun getDataSize(): DataSize
Link copied to clipboard

getMetaUsage returns the meta usage of this element.

Link copied to clipboard
fun move(movedAt: TimeTicket?): Boolean
Link copied to clipboard
fun remove(removedAt: TimeTicket?): Boolean
Link copied to clipboard
fun toJson(): String