to<TStateType extends TState> method

  1. @protected
Transition to<TStateType extends TState>()

Defines a transition to the state of type TStateType stored on the blackboard.

Implementation

@protected
Transition to<TStateType extends TState>() =>
    _transition.._transition(TStateType);