Structures
The following structures are available globally.
-
A dotted version vector. The
See moredotrepresents a server-side counter that is incremented at every write/store/put action.Declaration
Swift
public struct DVV : Equatableextension DVV: CustomStringConvertible -
A pairing of a entity ID with an immutable counter value.
NOTE: the
See moredotdefinition in thedvv.erlErlang file also has a timestamp value to disambiguate when the counter is the same. This implementation assumes that a server can keep that from happening, since this counter is by definition held and managed by a specific server.Declaration
Swift
public struct Dot : Equatableextension Dot: Comparableextension Dot: CustomStringConvertible
View on GitHub
Structures Reference