An abstract interface for a key–value store.
Properties
Methods
Sets the value for the given key.
Since 1.10.0
Since 2.0.0 This method is now required instead of optional.
list(prefix?: KvKey): AsyncIterable<KvStoreListEntry>
Lists all entries in the store that match the given prefix. If no prefix is given, all entries are returned.