Home > yorkie-js-sdk > ClientEventType
ClientEventType
represents the type of the event that the client can emit.
Signature:
export declare enum ClientEventType
Member | Value | Description |
---|---|---|
DocumentsChanged | "documents-changed" |
DocumentsChanged means that the documents of the client has changed. |
DocumentSynced | "document-synced" |
DocumentSynced means that the document has been synced with the server. |
PeersChanged | "peers-changed" |
PeersChanged means that the presences of the peer clients has changed. |
StatusChanged | "status-changed" |
StatusChanged means that the status of the client has changed. |
StreamConnectionStatusChanged | "stream-connection-status-changed" |
StreamConnectionStatusChanged means that the stream connection status of the client has changed. |