-
-
Notifications
You must be signed in to change notification settings - Fork 641
Dexie.Syncable.Statuses
David Fahlander edited this page May 19, 2014
·
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.
};
Dexie.js - minimalistic and bullet proof indexedDB library