Loom Engine - v3.1.1
    Preparing search index...

    Interface StateMachineOptions

    interface StateMachineOptions {
        initial: string;
        states: Record<string, StateConfig>;
        transitions?: Record<string, string[]>;
        fireInitialEnter?: boolean;
        onTransition?: (from: string, to: string) => void;
    }
    Index

    Properties

    initial: string
    states: Record<string, StateConfig>
    transitions?: Record<string, string[]>
    fireInitialEnter?: boolean
    onTransition?: (from: string, to: string) => void