StateQueue.setGoal

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.

struct StateQueue(State)
Promise!void
setGoal
(
State state
)

Meta