clik-engine API
    Preparing search index...

    Interface TransitionRule<TContext>

    interface TransitionRule<TContext = unknown> {
        condition: (context: TContext) => boolean;
        guard?: (context: TContext) => boolean;
        to: string;
    }

    Type Parameters

    • TContext = unknown
    Index

    Properties

    Properties

    condition: (context: TContext) => boolean
    guard?: (context: TContext) => boolean
    to: string