Effect CommunityEC
Effect Community10mo ago
1 reply
Florian

Effect.cachedFunction but with an LRU cache.

When using Effect.cachedFunction to memoize an Effect. Are there any mechanisms in place to prevent the cache to grow out-of-bounds?

I saw the Cache module where you can specify a fixed capacity, but when using Effect.cachedFunction I neither saw an option for a capacity nor anything mentioned in the docs.
Was this page helpful?