Skip to main content

Module map

Module map 

Source
Expand description

Map CRDT - A composable container for nested CRDTs

The Map CRDT allows mapping keys to other CRDT values, enabling the construction of complex nested data structures like JSON documents.

Key design: A single shared causal context ensures that causality is tracked consistently across the entire map and all nested CRDTs.

Structs§

CRDTMap
Map CRDT - composable container for nested CRDTs
CausalContext
Causal context: tracks all known events for consistent removal
Dot
A unique identifier for a write operation (dot) Tracks which replica created this value and when

Enums§

MapValue
A generic value that can be stored in the map This enables composing different CRDT types