@equinor/videx-3d
    Preparing search index...

    Type Alias LoaderConfig

    Loader Config

    type LoaderConfig = {
        batched?: boolean;
        batchLoad?: <T>(...args: any[]) => Promise<[KeyType, T][]>;
        batchMaxDelay?: number;
        batchSize?: number;
        init?: <T>(...args: any[]) => Promise<[KeyType, T][]>;
        load?: <T>(id: KeyType, args?: any) => Promise<T | null>;
        noCache?: boolean;
        preloaded?: boolean;
        transform?: (record: any) => any;
    }
    Index

    Properties

    batched?: boolean
    batchLoad?: <T>(...args: any[]) => Promise<[KeyType, T][]>
    batchMaxDelay?: number
    batchSize?: number
    init?: <T>(...args: any[]) => Promise<[KeyType, T][]>
    load?: <T>(id: KeyType, args?: any) => Promise<T | null>
    noCache?: boolean
    preloaded?: boolean
    transform?: (record: any) => any