A path from the root of the machine, through the state hierarchy, to a single leaf state.
For a machine like this:
{ initial: "a", states: { a: { initial: "b", states: { b: {} } } }} Copy
{ initial: "a", states: { a: { initial: "b", states: { b: {} } } }}
You may see a StatePath like this: ["a", "b"].
Generated using TypeDoc
A path from the root of the machine, through the state hierarchy, to a single leaf state.
For a machine like this:
You may see a StatePath like this: ["a", "b"].