valtio-fsm
    Preparing search index...

    Interface TransitionHistoryItem<TState>

    Represents a historical state transition

    interface TransitionHistoryItem<TState extends string> {
        from: TState;
        payload?: unknown;
        timestamp: number;
        to: TState;
    }

    Type Parameters

    • TState extends string

      String literal type representing valid states

    Index

    Properties

    from: TState

    State transitioning from

    payload?: unknown

    Optional data passed with transition

    timestamp: number

    Timestamp when transition occurred

    to: TState

    State transitioning to