Public IndexedDB constructor consuming the name
and version
used to construct this instance of a Store.Driver.
The name
to address this instance by.
The version
of this instance.
Readonly
nameThe name
to address this instance by.
Readonly
versionThe version
of this instance.
Private
Readonly
databasePrivate database used as backing storage to read/write key/value pairs.
Sets the value
of the pair identified by key
to value
, creating a new
key/value pair if none existed for key
previously.
The key
to set the key/value pair by.
The value
to associate with the key
.
A Promise resolving when the key/value pair was set.
Generated using TypeDoc
IndexedDB Store.Driver. This class provides a facade derived from the built-in Storage interface to IDBDatabases within the browser. This class implementing the Store.Driver contract is used as backing storage by the StateWorker, if run in a browser environment.
See
Store.Driver