idb-keyval
idb-keyval copied to clipboard
How to close DB object?
I'm working on the Isomorphic-git fork of idb-keyval and I want to replace it with the original. But there is a lack of one function close()
that is implemented like this:
_close() {
this._init();
return this._dbp.then(db => {
db.close();
this._dbp = undefined;
});
}
The fork is pretty outdated in comparison to your library, the only meaningful change besides the close()
method is readonly
=> readwrite
.
Can you implement somehow this function using a custom store?