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 |
|---|---|---|---|
|
boolean |
(ALPHA) (Optional) Value should be encoded. | ||
|
number |
(ALPHA) (Optional) Time key expires. | ||
|
string |
(ALPHA) Key | ||
|
{ [key: string]: unknown; } |
(ALPHA) (Optional) Additional metadata. | ||
|
T |
(ALPHA) (Optional) Value |