opal.task_wait: Wait for a task to complete.

View source: R/opal.task.R

opal.task_waitR Documentation

Wait for a task to complete.

Description

The task completion is defined by its status: *SUCCEEDED*, *FAILED* or *CANCELED*.

Usage

opal.task_wait(opal, id, max = NULL)

Arguments

opal

Opal object.

id

Task identifier.

max

Maximum time (in seconds) to wait for the task completion. Default is NULL (no maximum).

See Also

Other task functions: opal.task_cancel(), opal.tasks(), opal.task()

Examples

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.task_wait(o, '1')
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 6, 2023, 5:08 p.m.