Skip to content

SyncStateData

Defined in: src/sync.ts:137

optional catchingUp?: boolean

Defined in: src/sync.ts:159

True if we are working our way through a backlog of events after connecting. Only present if state=SYNCING.


optional error?: Error

Defined in: src/sync.ts:141

The error if state=ERROR.


optional fromCache?: boolean

Defined in: src/sync.ts:160


optional nextSyncToken?: string

Defined in: src/sync.ts:154

The ‘next_batch’ result from /sync, which will become the ‘since’ token for the next call to /sync. Only present if state=PREPARED</code> or <code>state=SYNCING.


optional oldSyncToken?: string

Defined in: src/sync.ts:148

The ‘since’ token passed to /sync. null for the first successful sync since this client was started. Only present if state=PREPARED or state=SYNCING.