Check whether repository read from pipeline has been updated
Source:R/server-new_data.R
check_new_repository_loaded.RdHelper function to check if new pipeline repository is loaded; see 'Examples'
Usage
check_new_repository_loaded(
component_container,
pipeline,
repository_class = NA,
session = shiny::getDefaultReactiveDomain()
)Arguments
- component_container
A
'RAVEShinyComponentContainer'instance- pipeline
A
pipelineinstance- repository_class
Expected repository class; default is arbitrary
- session
A shiny session
Examples
if (FALSE) { # \dontrun{
shiny::bindEvent(
ravedash::safe_observe({
if (!ravedash::on_new_repository_loaded()) {
return()
}
# Handle event when new repository is loaded
}, priority = 1001),
ravedash::watch_data_loaded(),
ignoreNULL = FALSE,
ignoreInit = FALSE
)
} # }