IndexedDB Interface
TODO rewrite, doesn’t expose GPD anymore, it’s in cachinglayer now
This file exposes a get/put/delete interface, accessing data in an IndexedDB.
RemoteStorage. | IndexedDB Interface |
Properties | |
changesQueued | Given a node for which uncommitted changes exist, this cache stores either the entire uncommitted node, or false for a deletion. |
changesRunning | Given a node for which uncommitted changes exist, this cache stores either the entire uncommitted node, or false for a deletion. |
Given a node for which uncommitted changes exist, this cache stores either the entire uncommitted node, or false for a deletion. The node’s path is used as the key.
At any time there is at most one IndexedDB transaction running. changesRunning stores the changes that are included in that currently running IndexedDB transaction, or if none is running, of the last one that ran.