Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface KeyValueStorage<TKey, TValue>

A simple storage solution that can be used for internal values that need to be stored.

Type parameters

  • TKey

  • TValue

Hierarchy

Implemented by

Index

Methods

  • delete(key: TKey): Promise<boolean>
  • entries(): AsyncIterableIterator<[TKey, TValue]>
  • get(key: TKey): Promise<undefined | TValue>
  • has(key: TKey): Promise<boolean>
  • set(key: TKey, value: TValue): Promise<this>