@ SafeVarargs public static < S , O > Transition < S , O > to ( S newState , O ... outputs ) { return to ( newState , Stream . of ( outputs ) ) ; }
Create a transition to a new state with zero or more outputs .