A convenience function that polls the passed Job's status waiting for either FAILED, TIMEOUT, or SUCCESS.

busy_poll_job(zoltar_connection, job_url, verbose = TRUE)

Arguments

zoltar_connection

A ZoltarConnection object as returned by new_connection()

job_url

URL of a valid job in zoltar_connection

verbose

if TRUE, print messages on job status poll

Examples

if (FALSE) {
  busy_poll_job(conn, "http://example.com/api/job/2/")
}