dataloader icon indicating copy to clipboard operation
dataloader copied to clipboard

data cache + batch timeout

Open eaglemoor opened this issue 2 years ago • 1 comments

In this review, I added a few options:

  1. Data cache interface for the ability to wrap the batch function and its positive results in the cache. Now you can use non-memory cache, like redis or sql.
  2. Timeout for batch function. If user close context before batch func done, all data return with error and will be put in cache. WithTimeout help to wrap original context with tracing, variables, but without timeout.

eaglemoor avatar Apr 11 '23 09:04 eaglemoor

This is an important feature for the library, why has it been abandoned for over a year now?

bielcarpi avatar Aug 14 '24 09:08 bielcarpi