switchyard
    Preparing search index...

    Interface XStateNode

    The JSON subset of an xstate v5 machine config: names stand in for guards, actions and actors.

    interface XStateNode {
        after?: Record<string, XStateTransitions>;
        always?: XStateTransitions;
        entry?: XStateAction | XStateAction[];
        exit?: XStateAction | XStateAction[];
        history?: "shallow" | "deep";
        id?: string;
        initial?: string;
        invoke?: XStateInvoke | XStateInvoke[];
        on?: Record<string, XStateTransitions>;
        states?: Record<string, XStateNode>;
        target?: string;
        type?: "atomic" | "compound" | "parallel" | "final" | "history";
    }
    Index
    after?: Record<string, XStateTransitions>

    Optionalentry

    history?: "shallow" | "deep"
    id?: string
    initial?: string
    on?: Record<string, XStateTransitions>
    states?: Record<string, XStateNode>
    target?: string
    type?: "atomic" | "compound" | "parallel" | "final" | "history"