workflow_wait: Wait for a running job to complete.

View source: R/workflow_job.R

workflow_waitR Documentation

Wait for a running job to complete.

Description

This is similar to the wait method in the Query Service and will wait by default indefinitely for a workflow job to complete and poll the server regularly to update the local status. When the job is completed (or failed) the method will return the workflow job object.

Usage

workflow_wait(job, max_seconds = NULL, poll_period = 0.5)

Arguments

job

WorkflowJob object, see post_job and get_job

max_seconds

raise an exception if the job runs longer than this

poll_period

Number of seconds to wait between polling (max 10 seconds)

Value

WorkflowJob object


wuxi-nextcode/gorr documentation built on Jan. 1, 2023, 7:54 a.m.