Returns an iterable of keys in the map
Subscribe to changes in the map.
The function to call when the map is changed.
A disposer function to unsubscribe from the event.
Subscribe to events when a value is needed to be disposed.
A value is considered for disposal when:
Note that for performance reasons, it does not handle the case where multiple keys map to the same value.
The function to call when a value is needed to be disposed.
A disposer function to unsubscribe from the event.
Returns an iterable of values in the map
Returns an iterable of entries in the map.