Summary
I am developing a streamlit application that displays data that changes for every n minutes i used st_autorefresh to rerun my code after that n minute interval , but if there is any user_interaction between that n minutes (suppose take the user-interaction was at n-2 minutes) the code is being runned at n minutes after the user interaction and not at n before the user interaction , can anyone please provide a solution for this
Steps to reproduce
Code snippet:
st_autorefresh(interval=120000, key="autoRefresh")
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
Expected behavior:
the code should rerun every n minutes even if there is a user-interaction
Actual behavior:
but whenever there is a user interaction the code is running at n minutes from the time of interaction.
Debug info
- Streamlit version: 1.23.1
- Python version: 3.9
- Using PyEnv
- OS version: linux
- Browser version: google
Regards
saitharun gunasekar