Skip to contents

Reports how many batches of a bootstrap_dose_response_async() job have finished. Polling never waits for batches and does not change the job, so it is safe to call repeatedly from an interactive app.

Usage

bootstrap_progress(job)

Arguments

job

A qdr_bootstrap_job returned by bootstrap_dose_response_async().

Value

A list with done (finished batches), total (batches in the job), and finished (TRUE once every batch has resolved). Each batch holds up to 20 replicates. Call collect_bootstrap() to retrieve the result.

Details

Failed batches count as finished; collect_bootstrap() reports them as errors. Polling does not stop the mirai daemons that the job owns.