Expand description
Compact numeric identifiers for room and event data.
The service maps event IDs, state keys, state hashes, and room IDs into a shared global sequence space. Event IDs and state keys have paired forward and reverse mappings. State hashes have a partial forward index and no reverse mapping; room IDs have only a forward mapping.
Structsยง
- Creating ๐
- Serializes concurrent allocations so one identity maps to one short id.
- Data ๐
- Service
- Allocates and resolves compact identifiers used by room storage.
Type Aliasesยง
- Short
Event Id - Numeric identifier types shared with Matrix data structures.
- ShortId
- Numeric identifier types shared with Matrix data structures.
- Short
Room Id - Numeric identifier types shared with Matrix data structures.
- Short
State Hash - Compact identifier assigned to a complete room state hash.
- Short
State Key - Numeric identifier types shared with Matrix data structures.