Skip to main content

Module typing

Module typing 

Source
Expand description

In-memory typing set. Never written to the messenger database. The builder seeds TypingRegistry::with_seed from a clock and notifies clients itself when set_typing or rooms_with_expired_typing report a change.

Structs§

TypingRegistry
In-memory, per-room typing indicator state (§3.6) — deliberately never written to messenger.db (see the module doc). Not related to [LiveRegistry]’s own keys; a caller that gets changed == true back from Self::set_typing (or a non-empty room list back from Self::rooms_with_expired_typing) is the one that decides which LiveRegistry keys to wake for it.