Skip to main content

foundation-comms.keyvalue

Home > @genesislcap/foundation-comms > KeyValue

KeyValue 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.

KeyValue interface.

Signature:

export interface KeyValue<T = KVValue> 

Properties

Property

Modifiers

Type

Description

base64?

boolean

(ALPHA) (Optional) Value should be encoded.

expiration?

number

(ALPHA) (Optional) Time key expires.

key

string

(ALPHA) Key

metadata?

{ [key: string]: unknown; }

(ALPHA) (Optional) Additional metadata.

value?

T

(ALPHA) (Optional) Value