Closed AsValeO closed 5 years ago
Would the MemoryCacheEntryOptions.RegisterPostEvictionCallback(...)
method that is already supported fulfill your needs (as that already allows you to get notified on cache eviction)?
Sorry, looks like I have not been able to help. Closing as no response, but please @ reference me and I will re-open if needs be. Thanks.
This helped. Thank you.
Please, implement a
ExpirationToken
for sliding expiration feature like for standardMemoryCache
: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/primitives/change-tokens?view=aspnetcore-2.1