AutoMovie API
    Preparing search index...

    The outcome of interacting intents from a production's own table: the first rule whose predicate accepts the intents, else the table's default. The engine only orders and applies the rules; their vocabulary and the outcome classes are the production's.

    type IResult<Outcome extends string> = {
        outcome: Outcome;
        rule?: string;
    }

    Type Parameters

    • Outcome extends string
    Index
    outcome: Outcome

    Winning rule's outcome, or the table's otherwise value; the returned record is mutable.

    rule?: string

    Winning rule id; omitted exactly when no predicate accepted.