Skip to content

js-bao-wss-client


js-bao-wss-client / SyncEvent

Interface: SyncEvent ​

Payload of the sync event (client.on("sync", ...)). Fired when a document's sync state with the server changes: synced: true once the document has caught up, synced: false when it falls out of sync (for example after a reconnect).

Properties ​

documentId ​

documentId: string


synced ​

synced: boolean

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30