Skip to main content

Module state_cache

Module state_cache 

Source
Expand description

Persistent indexes derived from room membership state.

The service maintains paired user-to-room and room-to-user membership rows, aggregate counts, participating-server indexes, and cached stripped state. Read helpers expose point queries and cursor-backed streams over those derived indexes.

Modulesยง

update ๐Ÿ”’
Membership-transition writes for the state cache.
via ๐Ÿ”’
Routing-server hints derived from membership and invitation state.

Structsยง

Data ๐Ÿ”’
MembershipUpdate
Input types for applying membership-cache transitions.
Service
Persistent room-membership cache and derived-index service.

Functionsยง

state_events ๐Ÿ”’
Normalizes either supported cached leave-state representation.

Type Aliasesยง

AppServiceInRoomCache ๐Ÿ”’
StrippedRoomState
Input types for applying membership-cache transitions.
StrippedStateEventItem ๐Ÿ”’
SyncStateEventItem ๐Ÿ”’