In watchUtils there is the pausable method what is the equivalent for reactiveUtils? Do I need to add and remove the watchHandle?
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.
Les membres connectés peuvent publier, suivre les mises à jour et bien plus encore. Vous êtes nouveau ici ? Créez un compte gratuit.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.