ZenFS DOM
    Preparing search index...

    Class WebStorageStore

    A synchronous key-value store backed by Storage.

    Implements

    • Store
    • SyncMapStore
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    storage: Storage

    Accessors

    • get name(): string

      What the file system using this store should be called. For example, tmpfs for an in memory store

      Returns string

    Methods

    • Parameters

      • key: number

      Returns void

    • Parameters

      • key: number

      Returns undefined | Uint8Array<ArrayBufferLike>

    • Returns Iterable<number>

    • Parameters

      • key: number
      • data: Uint8Array

      Returns void

    • Syncs the store

      Returns Promise<void>

    • Begins a new transaction.

      Returns SyncMapTransaction