Skip to contents

Helper function to set up progress tracking using progress2 for fancyDirectoryInput. Call this in your server function to enable automatic progress updates.

Usage

observeDirectoryProgress(inputId, session = shiny::getDefaultReactiveDomain())

Arguments

inputId

the input ID of the fancyDirectoryInput

session

the Shiny session object (default: shiny::getDefaultReactiveDomain())

Value

invisible NULL; sets up reactive observers for progress tracking

Examples

if (FALSE) { # \dontrun{
server <- function(input, output, session) {
  # Enable progress tracking
  observeDirectoryProgress("dir_input")

  # Your other server logic...
}
} # }