Description Usage Arguments Value progress-bar start(taskname, steps=0, init = 0, modulo=NULL) step_task(value) message(msg)
Holds the environment containing progress bar data For one task instance
1 | redis_progress_bar(name, redis, debug = FALSE)
|
name |
progress name prefix |
redis |
redis_client() results |
debug |
debug mode |
progress bar structure (list with function)
The progress bar instance is currently a very simple object-mimic list exposing several functions
Start a task
Increment the step value
Set the current step value
Send a message
get the task name
get the queue name
get the current step value
Parameters of these functions (if any), are described in the following sections
start(taskname, steps=0, init = 0, modulo=NULL)
Declare the starting of a task
Name of the starting task (cannot contain colon character)
Total number of steps of the task
Initial step value
step_task(value)
Define the current task step to be value
message(msg)
Send a message
get the queue name get the value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.