Skip to main content

Interface: SyncStatus

Defined in: client/lib/core/sync/index.d.ts:101

A point-in-time reading of one stack's replication.

Properties

PropertyTypeDescriptionDefined in
directionSyncDirectionDirection this handle was started with.client/lib/core/sync/index.d.ts:107
lastActiveAtnumber | nullWhen documents last moved, in either direction.client/lib/core/sync/index.d.ts:117
lastConvergedAtnumber | nullWhen the replica last converged - a cycle completed with nothing left to send. null until the first one. This is the value a UI should render as "last synced", not lastActiveAt.client/lib/core/sync/index.d.ts:115
lastError| { message: string; name?: string; status?: number; } | nullThe last failure seen, kept even after replication recovers.client/lib/core/sync/index.d.ts:119
livebooleanWhether the handle is following changes or ran once.client/lib/core/sync/index.d.ts:109
pullednumberDocuments written locally since this handle started.client/lib/core/sync/index.d.ts:127
pushednumberDocuments written to the remote since this handle started.client/lib/core/sync/index.d.ts:125
stackstringThe stack this status belongs to.client/lib/core/sync/index.d.ts:103
stateSyncStateSee SyncState.client/lib/core/sync/index.d.ts:105