Note that the options are not applied if someone else already created the store
Path to save the store in app_data_dir
Optional
options: StoreOptionsStore configuration options
Init/load the store if it's not loaded already
Returns a list of all keys in the store.
Returns the number of key-value pairs in the store.
Attempts to load the on-disk state at the store's path
into memory.
This method is useful if the on-disk state was edited by the user and you want to synchronize the changes.
Note: This method does not emit change events.
Saves the store to disk at the store's path
.
Close the store and cleans up this resource from memory. You should not call any method on this object anymore and should drop any reference to it.
A lazy loaded key-value store persisted by the backend layer.