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
it would be awesome, if ttlcache could be given a loader function.
Upon a cache miss (key not present in the cache), the cache would call this loader func, and create/load the value for the key, and would put it in the cache with the default global expiration.
The text was updated successfully, but these errors were encountered:
I'm planning a little work for a v2, consequently this would mean i can solve #29 by having an error return value on all public calls. It would then also be 'free' to add a SetLoader function as it can transparently relay any errors. I guess this will be done somewhere in the next 4 weeks.
it would be awesome, if ttlcache could be given a loader function.
Upon a cache miss (key not present in the cache), the cache would call this loader func, and create/load the value for the key, and would put it in the cache with the default global expiration.
The text was updated successfully, but these errors were encountered: