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

    Interface ProductLookup<T>

    The builders a supplier found for a batch of refs.

    export interface ProductLookup<T extends Product> {
    /** Builders for the products found, matched to their ref by `cacheKey`. */
    builders: ProductBuilder<T>[];
    /** `cacheKey`s whose request failed. A ref in neither list counts as unavailable. */
    failed?: ReadonlySet<string>;
    }
    interface ProductLookup<T extends Product> {
        builders: ProductBuilder<T>[];
        failed?: ReadonlySet<string>;
    }

    Type Parameters

    Index

    Properties

    Properties

    builders: ProductBuilder<T>[]

    Builders for the products found, matched to their ref by cacheKey.

    failed?: ReadonlySet<string>

    cacheKeys whose request failed. A ref in neither list counts as unavailable.