transition

open fun transition(state: T, event: Event): TransitionResult<T>

Handles an Event — the result of an AsyncEffectHandler re-entering the FSM. Defaults to a no-op transition; override for any state that starts async work. There is no entry equivalent for events — unlike Input, an Event never starts a flow, only routes by the chat's current state (see FindDispatcherStrategy).