Class WebStorageStore

A synchronous key-value store backed by Storage.

Implements

  • Store
  • SimpleSyncStore

Constructors

Properties

Accessors

Methods

Constructors

Properties

storage: Storage

Accessors

  • get name(): string
  • The name of the store.

    Returns string

Methods

  • Empties the store completely.

    Returns void

  • Empties the store completely.

    Returns void

  • Parameters

    • key: bigint

    Returns void

  • Parameters

    • key: bigint

    Returns undefined | Uint8Array

  • Returns Iterable<bigint>

  • Parameters

    • key: bigint
    • data: Uint8Array

    Returns void

  • Syncs the store

    Returns Promise<void>

  • Begins a new transaction.

    Returns SimpleTransaction