@farmart-tech/brave-client-sdk
    Preparing search index...

    Class FeatureReader

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    db: FirestoreDb
    prefetchPromise: Promise<unknown> | null

    Methods

    • Type Parameters

      • T
      • D

      Parameters

      • collection: string
      • docName: string
      • factory: (key: string, data: D) => T
      • cache: Map<string, D>

      Returns Promise<T | null>

    • Type Parameters

      • T
      • D

      Parameters

      • collection: string
      • factory: (key: string, data: D) => T
      • cache: Map<string, D>
      • allLoaded: boolean
      • OptionaluseCache: boolean

      Returns Promise<Record<string, T> | null>