Options
All
  • Public
  • Public/Protected
  • All
Menu

Loopback class for a cache data structure

Type parameters

  • V = any

  • K = any

Hierarchy

  • default

Implements

Index

Constructors

  • Type parameters

    • V = any

    • K = any

    Returns default<V, K>

Properties

storage: Map<K, V> = ...

Cache object

Accessors

  • get size(): number

Methods

  • [iterator](): IterableIterator<K>
  • entries(): IterableIterator<[K, V]>
  • get(key: K): undefined
  • has(key: K): boolean
  • keys(): IterableIterator<K>
  • set(key: K, value: V): V
  • values(): IterableIterator<V>