Module user_state_updates

Module user_state_updates 

Source
Expand description

User-state update helpers called from RPC handlers. User-state update helpers called from RPC handlers after mutations.

Functions§

update_profile_for_users
Update state for a user and all users who share documents with them.
update_ref_for_users
Update state for all initialized users who hold permissions on a ref.
update_user_state
Re-read the full user state from the database and reconcile it into the user’s Automerge doc.