Implementing Generic Cache for Multiple Objects
I'm looking at Using Cache Directly and struggling to understand how I would implement a generic cache for caching multiple objects. Having a lookup function that acts both as set and get does not seem very practical but I must certainly be missing something. Any clarification appreciated.
Effect is a powerful TypeScript library designed to help developers easily create complex, synchronous, and asynchronous programs.

