How do I throttle/debounce a ValueTree/CachedValue update?

I’m using ValueTree for state management along with wrapper classes, which hold the values in CachedValues. I know ValueTrees aren’t ideal for values that constantly updated and I was wondering what the best solution for the following case would be:

  • Use moves slider
  • Slider value updates ValueTree cached value, but in a way that doesn’t hold up the rest of the application

I know about AsyncUpdater, but I can’t seem to find any info on how to use this with CachedValue. Any ideas?