RE: #1294 (comment)
Blocked
Let's wait for our support of promises to engineer this.
Before:
vm.delete(function(err, operation, apiResponse) {
operation
.on('error', function(err) {})
.on('running', function(operationMetadata) {})
.on('complete', function(operationMetadata) {});
});
After:
vm.delete()
.on('error', function(err) {})
.on('running', function(apiResponse) {}) // is this what you had in mind, or is it the operationMetadata?
.on('complete', function(operationMetadata) {});
@callmehiphop What should we do in these situations (regarding the second argument, vm):
compute.createVM('vm-name', function(err, vm, operation, apiResponse) {});
Emit vm with running?
compute.createVM('vm-name')
.on('error', function(err) {})
.on('running', function(vm, apiResponse) {})
.on('complete', function(operationMetadata) {});
... or is that getting weird?
RE: #1294 (comment)
Blocked
Let's wait for our support of promises to engineer this.
Before:
After:
@callmehiphop What should we do in these situations (regarding the second argument,
vm):Emit
vmwithrunning?... or is that getting weird?