ChemPal Documentation - v1.12.0
    Preparing search index...

    Variable SEARCH_ABORT_REASONConst

    SEARCH_ABORT_REASON: {
        USER: "user_aborted";
        TIME_BUDGET: "time_budget_exceeded";
    } = ...

    Reasons the shared search AbortController gets aborted. Passed verbatim to controller.abort() so a terminal search event can name the cause from signal.reason instead of string-matching a free-form message.

    Type declaration

    • ReadonlyUSER: "user_aborted"

      The user pressed Stop, or hit the abort-search hotkey.

    • ReadonlyTIME_BUDGET: "time_budget_exceeded"

      A supplier's supplierSearchTimeBudgetSec elapsed while it was still working.

    export const SEARCH_ABORT_REASON = {
    /** The user pressed Stop, or hit the abort-search hotkey. */
    USER: 'user_aborted',
    /** A supplier's `supplierSearchTimeBudgetSec` elapsed while it was still working. */
    TIME_BUDGET: 'time_budget_exceeded',
    } as const;