datahike
datahike copied to clipboard
Can't create/open DB in Web Worker
trafficstars
I tried out the IndexedDB implementation and attempted to use it from a WebWorker. However, Datahike never finds the DB. My assumption is that konserve uses js/window.indexedDB which is not available in a WebWorker context. Replacing it with js/self.indexedDB or js/indexedDB could be enough to solve this.
@MarkusH14 Thanks for reporting this, I did not know about thi. @groundedSAGE we should keep this in mind when we port the indexedDB backend now.