Sets an item to persistent storage under the given key, allowing it to be later fetched with Get item from storage.
Storage is persisted across app restarts.
You can store any kind of JSON-stringifiable data in the persistent storage.
Key under which the item should be stored in persistent storage.
Data to store
Data to store in persistent storage under the given key.
Number of outputs: 2
No output arguments.
JSON stringification failed
Thrown if the given Data to store could not be converted into a string.
Storage set failed
Thrown if the given data could not be set to persistent storage under the given key.