Deletes the value stored for the given key.
Deletes the value stored for the given key.
Key to delete.
If there was a value to delete.
An iterable of entries in the storage.
An iterable of entries in the storage.
Returns the value stored for the given identifier.
undefined
if no value is stored.
Returns the value stored for the given identifier.
undefined
if no value is stored.
Checks if there is a value stored for the given key.
Checks if there is a value stored for the given key.
Sets the value for the given key.
Sets the value for the given key. Should error if the data is already expired.
Key to set/update.
Value to store.
When this value expires. Never if undefined.
The storage.
A KeyValueStorage in which the values can expire. Entries with no expiration date never expire.