https://griddle-reviews.blogspot.com/2024/01/settimeout-in-loop-to-check-for-change.html
Settimeout In Loop To Check For A Change In Bounds