gce_wait function

Wait for an operation to finish

Wait for an operation to finish

Will periodically check an operation until its status is DONE

gce_wait(operation, wait = 3, verbose = TRUE, timeout_tries = 50)

Arguments

  • operation: The operation object
  • wait: Time in seconds between checks, default 3 seconds.
  • verbose: Whether to give user feedback
  • timeout_tries: Number of times to wait

Returns

The completed job object, invisibly