Interval in RXJS

How to create observable with interval in RXJS ?

In this we will see how we can easily create observable with interval. If you see the code you will understand how the interval works in RXJS.

Demo Code Stackblitx