Class SimpleAsyncStoreAbstract

An interface for simple asynchronous stores that don't have special support for transactions and such. This class adds caching at the store level.

Implements

Constructors

Properties

cache: Map<number, Uint8Array<ArrayBufferLike>> = ...
name: string

The name of the store.

queue: Set<Promise<unknown>> = ...

Methods

  • Parameters

    • ino: number
    • data: Uint8Array<ArrayBufferLike>

    Returns Promise<void>

  • Returns Promise<Iterable<[number, Uint8Array<ArrayBufferLike>], any, any>>