You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Ability to set a maximum number of intervals? #222
When I put it this way, the cleanest solution to my problem would be if dcc.Interval() supported the idea of counting a certain number of ticks and then stopping by itself, i.e. had something like a max_intervals parameter. I’m not sure if you have any other use-cases for that but if so, maybe it’s a feature suggestion?
That discussion is about turning it off in response to an event, but if there were a max_intervals parameter we could presumably turn the timer off manually by setting max_intervals=n_intervals.
Activity
claresloggett commentedon Jul 2, 2018
Might also be useful to people trying to "turn off" the Interval, e.g. https://community.plot.ly/t/how-to-turn-off-interval-event/5565 ?
That discussion is about turning it off in response to an event, but if there were a
max_intervalsparameter we could presumably turn the timer off manually by settingmax_intervals=n_intervals.Added max_intervals prop to Interval component