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

    Variable SUPPLIER_OUTCOMEConst

    SUPPLIER_OUTCOME: {
        OK: "ok";
        EMPTY: "empty";
        FAILED: "failed";
        RATE_LIMITED: "rate_limited";
        STOPPED: "stopped";
    } = ...

    How a single supplier's part of a search ended, shown in the results header.

    Type declaration

    • ReadonlyOK: "ok"

      Finished and returned at least one product.

    • ReadonlyEMPTY: "empty"

      Finished and returned nothing.

    • ReadonlyFAILED: "failed"

      Threw an error other than a rate limit or a deliberate stop.

    • ReadonlyRATE_LIMITED: "rate_limited"

      Answered 429 Too Many Requests.

    • ReadonlySTOPPED: "stopped"

      Cut short by the user stopping the search or the time budget elapsing.

    export const SUPPLIER_OUTCOME = {
    /** Finished and returned at least one product. */
    OK: 'ok',
    /** Finished and returned nothing. */
    EMPTY: 'empty',
    /** Threw an error other than a rate limit or a deliberate stop. */
    FAILED: 'failed',
    /** Answered `429 Too Many Requests`. */
    RATE_LIMITED: 'rate_limited',
    /** Cut short by the user stopping the search or the time budget elapsing. */
    STOPPED: 'stopped',
    } as const;