hive_crdt library Null safety
Classes
-
Crdt<
K, V> - CrdtJson
-
HiveCrdt<
K, V> -
Hlc<
T> - A Hybrid Logical Clock implementation. This class trades time precision for a guaranteed monotonically increasing clock in distributed systems. Inspiration: https://cse.buffalo.edu/tech-reports/2014-04.pdf
-
MapCrdt<
K, V> - A CRDT backed by a in-memory map. Useful for testing, or for applications which only require temporary datasets.
-
Record<
V> - Stores a value associated with a given HLC
Typedefs
-
KeyDecoder<
K> (String key) → K -
KeyEncoder<
K> (K key) → String -
NodeIdDecoder(
String nodeId) → dynamic -
ValueDecoder<
V> (String key, dynamic value) → V -
ValueEncoder<
K, V> (K key, V? value) → dynamic