Skip to content

Interface: MachineEdgeData

API / @xmachines/play-router / MachineEdgeData

Defined in: types.ts:24

The data on each edge of the graph that represents the machine. It holds the event of the transition and the information of its guard.

Properties

PropertyTypeDescriptionDefined in
eventTypestringThe event type that starts this transitiontypes.ts:26
guardType?stringThe guard as a string, when a guard is present Deprecated Will be removed in the next major.types.ts:32