[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[x] feature request
Current behavior
Intervals are executed using setInterval().
Expected/desired behavior
Intervals use RxJS Observable.interval().
What is the motivation / use case for changing the behavior?
It's best practice. Also, Subscription is a more "Angular way" and can be used to terminate the interval.
I'm submitting a ... (check one with "x")
Current behavior Intervals are executed using
setInterval()
.Expected/desired behavior Intervals use RxJS
Observable.interval()
.What is the motivation / use case for changing the behavior? It's best practice. Also,
Subscription
is a more "Angular way" and can be used to terminate the interval.