execution stack updates

Sorry for not know the correct language, which also prohibits from finding the answer, which must have been asked already...

It seems the execution of the reactives is serial and there is not much clean-up in-between done. I.e. if a value changes multiple times while the result is still being produced the whole stack will be executed one after the other. (I hope I am clear enough :wink: )
My question: is there a way to avoid this and potentially ask shiny to wait for X ms and then work only on the latest values?

Thanks,

Bernd

Hi @baj, I'm not sure I completely understand, but I think you may be looking for debounce() or throttle() -- https://shiny.rstudio.com/reference/shiny/1.0.4/debounce.html

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.