This is a two part question, but both are related.
What exactly counts as activity, in terms of having your app not disconnect? I know if I have an app open and leave it for an hour then it’ll grey out and disconnect. Does moving the mouse count as activity? Does using invalidateLater or reactivePoll mean that the app will never time out because there’s always talk between R and my browser?
Similarly, what counts as usage on shinyapps.io? Is it exactly the same as above?