Waits for a task to be completed (or failed).
Task_wait_for_completion.Rd
N.B: using retries == 0 will immediately timeout and return FALSE. This is convenient for unit testing for example
Usage
Task_wait_for_completion(
task_id,
interval = 3,
retries = 30,
recursive = TRUE,
conn = get_connection()
)