@mudssky/jsutils
    Preparing search index...

    Interface MachineTransitionResult<TValue, TContext>

    单次状态转移的计算结果。

    interface MachineTransitionResult<TValue extends string, TContext> {
        changed: boolean;
        snapshot: MachineSnapshot<TValue, TContext>;
        stateChanged: boolean;
        status: "matched" | "ignored" | "blocked";
    }

    Type Parameters

    • TValue extends string

      状态值字面量联合类型

    • TContext

      上下文对象类型

    Index

    Properties

    changed: boolean
    stateChanged: boolean
    status: "matched" | "ignored" | "blocked"