Hello,
We have a code chunk that works - taken from a post by @RobErt Scheitlin, but uses watchUtils which is deprecated.
watchUtils.whenFalse(view, 'stationary', (evt) => {
if (!view.stationary) {
watchUtils.whenTrueOnce(view, 'stationary', function (evt) {
console.log(view.extent);
});
} else {
watchUtils.whenFalseOnce(view, 'interacting', function (evt) {
console.log(view.extent);
});
}
})
How should we convert it to using the reactiveUtils tools?
Thank you in advance,
Marcelo