Only use this for small values - there’s a 256KB size limit per item.
Namespaces
store.env
to access and store data across your Environment
Methods
delete()
Deletes an item from the Key-Value Store.
The
key
of the item to delete.Returns
APromise
that resolves when the item has been deleted.
has()
Checks if an item exists in the Key-Value Store.
The
key
of the item to check existence of.Returns
APromise
that resolves to a boolean
value indicating existence.
get()
Retrieves an item from the Key-Value Store.
The
key
of the item to retrieve.Returns
APromise
that resolves to the stored value or undefined
if missing.
set()
Stores an item in the Key-Value Store.
The
key
of the item to store.The serializable
value
to store.Returns
APromise
that resolves to the stored value.