timerSignal

G
W

This is very similar to rxjs's timer operator. It will be have like setTimeout or interval depending on the parameters passed. The value of the timer is incremented after every "tick".

The signal has methods to pause, resume and restart the timer. Additionally, there is a state signal that will return the current state of the timer.

Timer and Interval Demo