new function for deciding where to write the output from the
progress bar, make_kpb_output_decisions()
. #4. Note that
this can be overridden by supplying a connection directly.
new function for updating the counter easily,
update_progress
, that provides updating and stopping the
counter properly. #7
Added CI to the github repo. #3
Added testing. #5