This module defines functions that are mixed into remoteStorage.local when it is instantiated (currently one of indexeddb.js, localstorage.js, or inmemorystorage.js).
All remoteStorage.local implementations should therefore implement this.getNodes, this.setNodes, and this.forAllNodes. The rest is blended in here to create a GPD (get/put/delete) interface which the BaseClient can talk to.
Summary
cachinglayer | This module defines functions that are mixed into remoteStorage.local when it is instantiated (currently one of indexeddb.js, localstorage.js, or inmemorystorage.js). |
Functions | |
fixArrayBuffers | Takes an object and its copy as produced by the _deepClone function below, and finds and fixes any ArrayBuffers that were cast to `{}` instead of being cloned to new ArrayBuffers with the same content. |
cachingLayer | Mixes common caching layer functionality into an object. |