In watchUtils there is the pausable method what is the equivalent for reactiveUtils? Do I need to add and remove the watchHandle?
Solved! Go to Solution.
Hi Robert, correct, with reactiveUtils you would need to add or remove the WatchHandle. Or, in the case of once() or whenOnce() since those return a Promise you would use AbortSignal. For the moment this is the most efficient pattern since the underlying API is tracking observable property access, rather than tracking individual values.
Hi Robert, correct, with reactiveUtils you would need to add or remove the WatchHandle. Or, in the case of once() or whenOnce() since those return a Promise you would use AbortSignal. For the moment this is the most efficient pattern since the underlying API is tracking observable property access, rather than tracking individual values.
Thanks Andy.