-
-
Notifications
You must be signed in to change notification settings - Fork 641
Dexie.Syncable.Statuses
David Fahlander edited this page Dec 28, 2016
·
4 revisions
enum SyncStatus {
/** An irrepairable error occurred and the sync provider is dead. */
ERROR = -1,
/** The sync provider hasnt yet become online, or it has been disconnected. */
OFFLINE = 0,
/** Trying to connect to server */
CONNECTING = 1,
/** Connected to server and currently in sync with server */
ONLINE = 2,
/** Syncing with server. For poll pattern, this is every poll call.
* For react pattern, this is when local changes are being sent to server. */
SYNCING = 3,
/** An error occured such as net down but the sync provider will retry to connect. */
ERROR_WILL_RETRY = 4
}
Dexie.js - minimalistic and bullet proof indexedDB library