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:
this.$clearTimeouts (plural)
this.$clearIntervals (plural)
These helper functions should clear out all timeouts and intervals, but only those that are registered on the component the method is called on.
Along side the helper functions
this.$setTimeout
,this.$clearTimeout
,this.$setInterval
anthis.$clearInterval
, it would be useful to provide the following functions as well:this.$clearTimeouts
(plural)this.$clearIntervals
(plural)These helper functions should clear out all timeouts and intervals, but only those that are registered on the component the method is called on.