You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I created a new version of the library, version 1.2.0.
This new version contains a new method: getItemExpirationTimestampInMillisSinceEpoch
You can use it to get the expiration timestamp for a cache item.
If you want know how long item will stay in cache, you can subtract Date.now() value from the value returned by
getItemExpirationTimestampInMillisSinceEpoch(...) method.
Hey,
is it possible to ask the library how long an item is left "stored" (ie. get its time left in the cache)?
Thanks!
The text was updated successfully, but these errors were encountered: