An abstract collection that provides the interface for listening to and dispatching notifications when the value for a key changes and when entries are added or removed.
Adds a listener for when the value for a key changes, or when entries are added or removed.
Adds a listener for before map entries are created, deleted, or updated.
Unregisters a map change listener provided by addMapChangeListener.
Unregisters a map change listener provided by addBeforeMapChangeListener or addMapChangeListener with the beforeChange
flag.
Informs map change listeners that an entry was created, deleted, or updated.
Informs map change listeners that an entry will be created, deleted, or updated.
require("collections/shim-object");
var MapChange = require("collections/listen/map-changes");
Object.addEach(MyMap.prototype, MapChange.prototype);