wait_for_result: Wait while the job status is pending
Description
Return when the job status is finished (either successfully or otherwise)
Usage
wait_for_result(jobid, token = NULL)
Arguments
- jobid
Job ID of the previously submitted job
- token
Authentication token.