Skip to main content

foundation-comms.kvstorage

Home > @genesislcap/foundation-comms > KVStorage

KVStorage interface

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Represents a KV (key-value) data storage and its capabilities. Provides methods to set and get items from the KV data storage.

Signature:

export interface KVStorage 

Remarks

Provides a key value storage api that abstracts the underlying storage technology.

Methods

Method

Description

delete(keys)

(ALPHA)

get()

(ALPHA)

get(key)

(ALPHA)

list()

(ALPHA)

put(kvs)

(ALPHA)