KeyValueStoreClient

Client-side representation of the KeyValueStore

Extends

Constructor

new KeyValueStoreClient()

Source:

Methods

(async) clear()

Description:
  • Clear all values from the store

Source:
Inherited From:

(async) delete(key)

Description:
  • Delete a key / value pair

Source:
Inherited From:
Parameters:
Name Type Description
key String

Key of the key / value pair to delete

(async) get(key) → {Any}

Description:
  • Get a stored value.

Source:
Inherited From:
Parameters:
Name Type Description
key String

Key of the value to retrieve

Returns:

The value associated to the key

Type
Any

(async) set(key, value)

Description:
  • Store a key / value pair

Source:
Inherited From:
Parameters:
Name Type Description
key String

Key of the value to store

value Any

Value to store