Skip to content

Dexie.Syncable.Statuses

David Fahlander edited this page Dec 20, 2016 · 4 revisions
Dexie.Syncable.Statuses = {
    ERROR_WILL_RETRY:   -2, // An error occured such as net down but the sync provider will retry to connect.
    ERROR:              -1, // An irrepairable error occurred and the sync provider is dead.
    OFFLINE:            0,  // The sync provider hasnt yet become online, or it has been disconnected.
    CONNECTING:         1,  // Trying to connect to server
    ONLINE:             2,  // Connected to server and currently in sync with server
    SYNCING:            3   // Syncing with server. For poll pattern, this is every poll call. For react pattern, this is when local changes are being sent to server.
};

See also

Dexie.Syncable.js

Clone this wiki locally