Use the in in-built Javascript Map object for a mutable Map.
ExpiringMap
Maps.ExpiringMap is a map that forgets its values after some period. It can automatically cleaning up data in cases where there is not a determinate signal for when to delete it. It also keeps track of when keys are last set and accessed.
Another use is its capacity-limiting, set using options . It can evict items based on time, for example:
Maps of
The basic semantics of a map is a single key to a single value. Sometimes however you want to keep track of multiple values per key.
Extended
There are three IMapOfMutableExtended implementations. These all have events allowing you to be notified when data changes.
ofArrayMutable stores values as an array under each key.