set: Set the idle timer duration in seconds

View source: R/idler.R

setR Documentation

Set the idle timer duration in seconds

Description

Set the idle timer duration in seconds

Usage

set(duration)

Arguments

duration

number of seconds of inactivity before the session is ended

Value

invisibly returns a Shiny observer R6 class object (see shiny::observe())

Examples

## Not run: 
# We set a 10s timeout
idler::set(10)

## End(Not run)

grddavies/idler documentation built on July 27, 2022, 12:40 a.m.