-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
api: bigqueryIssues related to the BigQuery API.Issues related to the BigQuery API.api: computeIssues related to the Compute Engine API.Issues related to the Compute Engine API.
Description
To wait for a Compute
operation or a BigQuery
job users can now do:
while (!operation.isDone()) {
Thread.sleap(1000);
}
// User operation
We could provide a better way to wait for completion, as, for instance:
operation.whenDone(new OperationCallback() {
public void onSuccess(Operation operation) {
// operation succeeded
// if operation == null => operation no longer exists
}
public void onFailure(List<OperationError> errors) {
// handle operation failure
}
});
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the BigQuery API.Issues related to the BigQuery API.api: computeIssues related to the Compute Engine API.Issues related to the Compute Engine API.