set | R Documentation |
Set the idle timer duration in seconds
set(duration)
duration |
number of seconds of inactivity before the session is ended |
invisibly returns a Shiny observer R6 class object
(see shiny::observe()
)
## Not run: # We set a 10s timeout idler::set(10) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.