Structures
The following structures are available globally.
-
A dotted version vector. The
See moredot
represents a server-side counter that is incremented at every write/store/put action.Declaration
Swift
public struct DVV : Equatable
extension DVV: CustomStringConvertible
-
A pairing of a entity ID with an immutable counter value.
NOTE: the
See moredot
definition in thedvv.erl
Erlang 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 : Equatable
extension Dot: CustomStringConvertible