SyncStateData
Defined in: src/sync.ts:137
Properties
Section titled “Properties”catchingUp?
Section titled “catchingUp?”
optionalcatchingUp?: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.
error?
Section titled “error?”
optionalerror?:Error
Defined in: src/sync.ts:141
The error if state=ERROR.
fromCache?
Section titled “fromCache?”
optionalfromCache?:boolean
Defined in: src/sync.ts:160
nextSyncToken?
Section titled “nextSyncToken?”
optionalnextSyncToken?: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.
oldSyncToken?
Section titled “oldSyncToken?”
optionaloldSyncToken?: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.