matrix-js-sdk

    Interface SyncStateData

    interface SyncStateData {
        catchingUp?: boolean;
        error?: Error;
        fromCache?: boolean;
        nextSyncToken?: string;
        oldSyncToken?: string;
    }
    Index

    Properties

    catchingUp?: boolean

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

    error?: Error

    The matrix error if state=ERROR.

    fromCache?: boolean
    nextSyncToken?: string

    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?: string

    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.

    MMNEPVFCICPMFPCPTTAAATR