Skip to content

Make an ExponentialBackoff for Jobs #89

@bshaffer

Description

@bshaffer

What if we made a Google\Cloud\ExponentialBackoff for job completion, i.e.:

$job = $table->load(fopen($source, 'r'), $options);
$backoff = new ExponentialBackoff(10);
$backoff->execute(function() use ($job, $output) {
    $job->reload();
    return $job->isComplete();
});

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions