Interface Transition<State, Event, Context>

Type Parameters

  • State extends AllowedNames | AllowedNames[]

  • Event extends AllowedNames

  • Context extends FsmContext<object>

Hierarchy

  • Transition

Properties

event: Event
from: State | State[]
guard?: Guard<Context, any[]>
onEnter?: Callback<Context, any[]>
onExit?: Callback<Context, any[]>
onLeave?: Callback<Context, any[]>
to: State

Generated using TypeDoc