The task completion is defined by its status: *SUCCEEDED*, *FAILED* or *CANCELED*.
opal.task_wait(opal, id, max = NULL)
Opal object.
Task identifier.
Maximum time (in seconds) to wait for the task completion. Default is NULL (no maximum).
Other task functions:
opal.task_cancel()
,
opal.tasks()
,
opal.task()
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.task_wait(o, '1')
opal.logout(o)
}