AuthError indicates an authorization failure in syncLoop or watchLoop.
Broadcast means that the broadcast event is received from the remote client.
ConnectionChanged means that the watch stream connection status has changed.
Initialized means that online clients have been loaded from the server.
LocalBroadcast means that the broadcast event is sent from the local client.
local document change event type
PresenceChanged means that the presences of the client has updated.
remote document change event type
snapshot event type
status changed event type
SyncStatusChanged means that the document sync status has changed.
Unwatched means that the connection has been disconnected.
Watched means that the client has established a connection with the server,
enabling real-time synchronization.
DocEventTyperepresents the type of the event that occurs inDocument.