zio-cache icon indicating copy to clipboard operation
zio-cache copied to clipboard

A ZIO native cache with a simple and compositional interface

Results 29 zio-cache issues
Sort by recently updated
recently updated
newest added

Hi! While working with zio-cache I ran into a problem where `Key` alone does not provide enough information to compute the cached `Value`. As a motivating example let's assume that...

It would be nice to have a jitter parameter so if a number of keys is getting queried continuously, the periodic re-fetching of them spreads out a bit.

Is it possible to tweak the signature of `get` to know when the result I `get` has been calculated by my query or another request that happened to arrive before...

### Motivation In some scenarios, we might want to add a value to the cache directly without calling the lookup function. An example of such business logic is we have...

Allows defining a lookup function that takes multiple keys and looks up values for all of them as part of a single effect.

### Motivation Currently the test cases are pretty simple. More complex scenarios should be covered. Additionally tests for other platforms (namely JS and native) should also be added to make...