ixfx
    Preparing search index...

    Type Alias DriverResult<V>

    DriverResult: {
        next?: StateNames<V> | boolean;
        reset?: boolean;
        score?: number;
    }

    Type Parameters

    Type declaration

    • Optional Readonlynext?: StateNames<V> | boolean

      If specified,the state to transition to. Use true to attempt to automatically advance machine. This field is 2nd priority.

    • Optional Readonlyreset?: boolean

      If true, resets the machine. This flag is 1st priority, taking precedence over the next field.

    • Optional Readonlyscore?: number

      Score of this result. This is used when a state has multiple handlers returning results separately. If not defined, 0 is used.