Is it possible to in a callback stop streamlit from rerunning the app?

We use callbacks in streamlit and are sometimes annoyed by the frequent rerunning of the page (because the page is big and the callbacks numerous, e.g. for single clicks in graphs). We have some callbacks, that do not modify the state of the app. Hence it is not necessary to rerun the app. I would like to do something as follows: run the callback, check if the callback should have any effect, and if not, leave (return from) the callback and signal to streamlit, that there is no need to re-run the app.

After looking in documentation and code, I did not find a solution, but maybe I missed some way.

I don’t think that is possible. But, if the state doesn’t change, I would expect the rerun to be fast. Is there a reason it can’t be?