import { StateNode } from "https://deno.land/x/xstate@xstate@5.0.0-beta.36/src/StateNode.ts";
Type Parameters
Properties
The well-structured state node definition.
The action(s) to be executed upon entering the state node.
All the event types accepted by this state node and its descendants.
The action(s) to be executed upon exiting the state node.
The type of history on this state node. Can be:
'shallow'
- recalls only top-level historical state value'deep'
- recalls historical state value at all levels
The logic invoked as actors by this state node.
The relative key of the state node, which represents its location in the overall state value.
The root machine node.
The meta data associated with this state node, which will be returned in State instances.
The mapping of events to transitions.
The output data sent with the "xstate.done.state.id" event if this is a final state node.
All the events that have transitions directly from this state node.
Excludes any inert events.
The child state nodes.