StateQueue.setCurrentState

Can be used to indicate that the state has been changed externally (e.g. to some "invalid"/"dirty" state). If a transition operation is already in progress, assume that it will change the state to the given state instead of its actual goal.

struct StateQueue(State)
void
setCurrentState
(
State state = State.init
)

Meta