Class LevelMap<K, V, T>

AbstractLevel implementation of an async queryable map.

Type Parameters

  • K

  • V

  • T = any

Hierarchy

Implements

Constructors

Properties

level: AbstractLevel<T, K, V>

Backing AbstractLevel storage.

opened: boolean

Accessors

Methods

  • Returns Promise<void>

  • Returns AsyncIterableIterator<[K, V]>

  • Deletes an entry by key from the map. Returns MaybePromise<unknown> to be compatible with ES Map.

    Parameters

    • key: K

    Returns Promise<void>

  • Sets an entry in the map. Returns MaybePromise<unknown> to be compatible with ES Map.

    Parameters

    • key: K
    • value: V

    Returns Promise<void>

Generated using TypeDoc