Title: Implementing Batching and Caching with Request Primitive
Hi there
I'm following the docs on batching and caching to learn more about the
The output I see is this:
Is it expected that requests are not de-duplicated by default? (My todos db contains 50 records, the todo ownership is evenly distributed across 5 unique users)
Is deduplication of requests possible?
I'm following the docs on batching and caching to learn more about the
Request primitive. I've implemented the getTodos, getUserByIds, and sendEmails so that they read from/write to a file (pretending to be the database) instead of a network call with some extra logging.The output I see is this:
Is it expected that requests are not de-duplicated by default? (My todos db contains 50 records, the todo ownership is evenly distributed across 5 unique users)
Is deduplication of requests possible?
Effect is a powerful TypeScript library designed to help developers easily create complex, synchronous, and asynchronous programs.

