A concrete implementation of IObservableMap.

Type Parameters

  • T

Hierarchy (View Summary)

Implements

Constructors

Accessors

Methods

  • Set a key-value pair in the map

    Parameters

    • key: string

      The key to set.

    • value: T

      The value for the key.

    Returns undefined | T

    the old value for the key, or undefined if that did not exist.

    if the new value is undefined.

    This is a no-op if the value does not change.