Hi everyone, this is probably a super newbie question...When using 'Utils.interval,' is there a way to stop it similar to a 'clearInterval'?
kinda hacky but you could include a var check for something outside the scope of the loop... i.e. https://gist.github.com/anonymous/89414e7052999097d9a2
I tried clearInterval, and it works well
Seoh Char that works great! Thank you! To continue on this topic, if I wanted to trigger the interval again, I tried 'setInterval timer', but this is not working. Do you have to wrap 'timer' in another function?
Hey Junu Joseph Yang, yep, wrapping both in a function allows you to start and stop the intervals at any point. :)
Benjamin Den Boer This is super helpful. Thank you!