@scolastico-dev/walu
    Preparing search index...

    Function readFromStore

    • Reads a single record from the specified IndexedDB object store by key.

      Type Parameters

      • T

        The type of data to read

      Parameters

      • storeName: string

        The name of the object store to read from

      • key: IDBValidKey

        The key of the record to retrieve

      Returns Promise<T>

      Promise that resolves to the stored data or undefined if not found

      If the read operation fails