Skip to main content

CountMutex

Type Alias CountMutex 

Source
type CountMutex = MutexMap<(OwnedRoomId, OwnedUserId), ()>;
Expand description

Guards one user’s counter in one room across a read-modify-write.

It holds one entry per (room, user) with an increment (append), decrement (redaction) or reset (receipt, local send) in flight.

Aliased Type§

struct CountMutex { /* private fields */ }