Takes care of updating a progress bar and stopping when appropriate

update_progress(.pb = NULL)

Arguments

.pb

the progress bar object

Value

the progress bar