Clears all values whose key matches the specified prefix.
The prefix to match against.
The name of the storage area to use.
Reads a persisted value.
The key to read.
The name of the storage area to read from.
A Promise that resolves to the value read.
Retrieves a list of stored keys matching the specified prefix.
The prefix to match against.
The name of the storage area to read from.
A Promise that resolves to an array of matching keys.
Creates a new subnamespace within this namespace.
A new namespace prefix to append to the existing prefix.
Clears a single persisted value.
The key to clear.
Optionalarea: "local" | "session"
The name of the storage area to use.
Stores values.
An object consisting of one or more key/value pairs to store.
The name of the storage area to use.
Namespaced key-value storage. Operations are atomic within an instance; distinct instances of the same namespace may access the same data in an unsafe manner.