Tries to return a value from the store.
The key.
The read value or the default value.
The logic for the 'get()' method.
The key.
Stores the value to return.
Tries set a value in the store.
The key.
The value to set.
The promise with the value that indicates if operation was successfull or not.
The logic for the 'set()' method.
The key.
The value to set.
Indicates if operation was successful or not.
Generated using TypeDoc
A basic store.