Shiny Worker R6 Class
Shiny Worker R6 Class
new()Initialize the worker's registry
Worker$new()
run_job()Add job to the registry
Worker$run_job( id, fun, args_reactive, value_until_resolved = NULL, invalidate_time = 1000 )
idcharacter with job id
funfunction to calculate
args_reactivereactive arguments that trigger the job
value_until_resolveddefault value returned until the job is completed
invalidate_timewait time before invalidating reactive context (msec)
reactive expression with promise of job completion
get_job_registry()Displays jobs registry.
Worker$get_job_registry()
clone()The objects of this class are cloneable with this method.
Worker$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.