Class WorkspaceCache<K, V>

Every key/value pair in this cache is scoped to the whole workspace. If any document in the workspace is added, changed or deleted, the whole cache is evicted.

Type Parameters

  • K
  • V

Hierarchy (view full)

Constructors

Properties

cache: Map<K, V> = ...
isDisposed: boolean = false
toDispose: Disposable[] = []

Methods