matrix-js-sdk

    Enumeration SyncState

    Index

    Enumeration Members

    Catchup: "CATCHUP"

    Emitted after a connectivity error and we're ready to start syncing again

    Error: "ERROR"

    Emitted after we try to sync more than FAILED_SYNC_ERROR_THRESHOLD times and are still failing. Or when we enounter a hard error like the token being invalid.

    Prepared: "PREPARED"

    Emitted after the first sync events are ready (this could even be sync events from the cache)

    Reconnecting: "RECONNECTING"

    Emitted for each time we try reconnecting. Will switch to Error after we reach the FAILED_SYNC_ERROR_THRESHOLD

    Stopped: "STOPPED"

    Emitted when the sync loop is no longer running

    Syncing: "SYNCING"

    Emitted after each sync request happens

    MMNEPVFCICPMFPCPTTAAATR