invoke

operator fun invoke(transitions: Set<Transition>): StateMachine

Return

A new StateMachine from the provided transitions. The StateMachine will contain all the States and EventTypes of the provided transitions.