Set the goal state. Starts off a transition operation if needed. Returns a promise that will be fulfilled when we reach the goal state, or rejected if the goal state changes before it is reached.
See Implementation
Set the goal state. Starts off a transition operation if needed. Returns a promise that will be fulfilled when we reach the goal state, or rejected if the goal state changes before it is reached.