Interface ITransition<State, Event, Context>

Type Parameters

  • State extends AllowedNames | AllowedNames[]

  • Event extends AllowedNames

  • Context extends object

Hierarchy

  • ITransition

Properties

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

Generated using TypeDoc