Skip to main content

Module state

Module state 

Source
Expand description

Stores room state snapshots and tracks each room’s forward extremities.

The service associates events with compressed state hashes and replays derived cache effects when state is forced. State snapshots themselves are encoded and reconstructed by the state compressor service.

Modules§

fetch_state 🔒
prune 🔒
Selects a bounded set of useful room forward extremities.

Structs§

Data 🔒
PruneSummary
Re-exports the forward-extremity pruning result and invocation source.
Service
Manages current room state, event state snapshots, and forward extremities.

Enums§

Trigger
Re-exports the forward-extremity pruning result and invocation source.

Type Aliases§

ForwardExtremities 🔒
RoomMutexGuard
Guard proving exclusive access to a room’s state mutation path.
RoomMutexMap 🔒