Skip to content

Feature request: Add "wait for VM running" function #2015

@NickZ

Description

@NickZ

The AWS EC2 sdk has this really handy feature "waitFor": http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EC2.html#waitFor-property

It calls the callback once the specified instances are in the specified state.

It would be handy to have this in the compute API, something like vm.waitFor("RUNNING").then(...), instead of having to carry around the operation object returned from createVM() and wait for the event to be emitted.

Metadata

Metadata

Assignees

Labels

api: computeIssues related to the Compute Engine API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions