Skip to content

WithExpireAfter and AsAtomic #684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MrSmoke opened this issue May 5, 2025 · 0 comments
Open

WithExpireAfter and AsAtomic #684

MrSmoke opened this issue May 5, 2025 · 0 comments

Comments

@MrSmoke
Copy link

MrSmoke commented May 5, 2025

Just a quick question as I couldn't find anything in the docs.

It seems that having a cache with WithExpireAfter and WithAtomicGetOrAdd is not supported as System.InvalidOperationException : WithExpireAfter is not compatible with AsAtomic is thrown when building the cache.

I was just wondering what the reason for this was and if its something that can be worked around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant