lightning-js / blits

The Lightning 3 App Development Framework
Apache License 2.0
58 stars 9 forks source link

Added $clearTimeouts and $clearIntervals methods #75

Closed michielvandergeest closed 4 months ago

michielvandergeest commented 4 months ago

Along side the helper functions this.$setTimeout, this.$clearTimeout, this.$setInterval an this.$clearInterval, it would be useful to provide the following functions as well:

These helper functions should clear out all timeouts and intervals, but only those that are registered on the component the method is called on.