code: @SafeVarargs
    public static <S, O> Transition<S, O> to(S newState, O...outputs) {
      return to(newState, Stream.of(outputs));
    }
docs: Create a transition to a new state with zero or more outputs.
  @param newState The state to transition to.
  @param outputs The outputs from the transition.
  @param <S> The type of the state to transition to.
  @param <O> The type of the outputs from the transition.
  @return The constructed transition.