Optionalopts: { revision: number }Returns an iterator of the specified key's history (or all keys). Note you can specify multiple keys if running on server 2.10.x or better. If the history can't be read to the end (for example, the connection closes), the iterator stops with a "history incomplete" error rather than ending as if it were complete.
Optionalopts: { key?: string | string[] }Returns an iterator of all the keys optionally matching the specified filter. If the keys can't be read to the end (for example, the connection closes), the iterator stops with a "keys incomplete" error rather than ending as if it were complete.
Optionalfilter: string | string[]
default is all keys
Returns information about the Kv
Returns an iterator that will yield KvEntry updates as they happen.
Optionalopts: KvWatchOptions
Returns the KvEntry stored under the key if it exists or null if not. Note that the entry returned could be marked with a "DEL" or "PURGE" operation which signifies the server stored the value, but it is now deleted.