comment how updates should work

This commit is contained in:
Bruno Windels 2019-03-15 20:29:17 +01:00
parent 2cd9c2344e
commit 61804073e2
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
import BaseObservableMap from "./BaseObservableMap.js";
/*
so a mapped value can emit updates on it's own with this._updater that is passed in the mapping function
how should the mapped value be notified of an update though? and can it then decide to not propagate the update?
*/
export default class MappedMap extends BaseObservableMap {
constructor(source, mapper) {
super();