Unique prefix for keys.
The underlying storage.
Protected
Readonly
prefixUnique prefix for keys.
Protected
Readonly
storageThe underlying storage.
Returns the size of this map. Note that this is a heavy operation that loops through the storage to count the number of keys with matching prefix.
Private
decodeDeletes the values with given keys.
Optional
options: AbortOptionsPrivate
encodeOptional
thisArg: unknownGets the list of data identified by given keys.
Optional
options: AbortOptionsPrivate
getChecks if given keys exist in the set.
Optional
options: AbortOptionsSets an entry in the map. Returns MaybePromise<unknown>
to be compatible with ES Map.
Sets given list of entries.
Optional
options: AbortOptionsSets or deletes given list of entries.
Optional
options: AbortOptionsGenerated using TypeDoc
A map that stores data in local storage with prefixed keys. Note that this does not preserve insertion order.