Skip to content

db.syncable.getStatus()

David Fahlander edited this page Dec 20, 2016 · 6 revisions

Get sync status for given URL

Syntax

db.syncable.getStatus(url)

Return Value

Promise<number>

Remarks

Returns a promise resolving with the sync status for given URL. If database is not open, the status OFFLINE (0) will be returned.

For a list of statuses, see Dexie.Syncable.Statuses. To map a status number to a string, use Dexie.Syncable.StatusTexts.

See also

Dexie.Syncable.js

statuses

statusText

db.syncable.list()

Clone this wiki locally