Rafal Mzyk
Rafal Mzyk
No, it doesn't. The whole purpose of this library is to speed up things. We would need to introduce time provider in the hot-path, which adds a virtual dispatch overhead....
> What is the thread safety model here of the valueFactory? We are not preventing stampedes atm, so there is a chance that factory is called more than once. Our...
The library was originally developed before key service support was released, so it comes with: ```csharp public interface IRCacheProvider { public RCache Get(string name); } ``` and getting it by...
RCache is not yet public. I will create a PR and link here as soon as it is possible.
Thanks for your feedback. I really appreciate it. > Either not needing a lazy factory shows you don't actually need a cache at all (aka premature optimisation). I would not...
Thanks for your feedback. :-) > when this will be finalized and released (I suppose in the .NET 9 timeframe) If this is going to end up in dotnet/extensions then...
No, its not implemented like that. This overload was specifically added to avoid closure allocation.
> Ahah thanks, but part I'm not a Microsoft employee :-) I've meant to leave this decision to the community, reviewers. For me its just a name. > Btw I...
Why `public abstract bool Remove(TKey key);` API isn't sufficient?
Why is it better to use Polly's timeout policy implementation over built in HttpClient timeout? There is also a second possible solution to just make polly set the HttpClient.Timeout to...