commit | 78867c84013a3b500825b9bb1287f8df959fc3be | [log] [tgz] |
---|---|---|
author | Mark Egli <markegli@google.com> | Tue Nov 30 11:30:29 2021 -0800 |
committer | Mark Egli <markegli@google.com> | Tue Nov 30 15:28:20 2021 -0600 |
tree | fed6ae6ea977381d36deba7262b97761dfa2e9dc | |
parent | 8c49e71daa4c4d41e9103c4c562a8f3e9cecdd61 [diff] |
Integrate internal changes * Remove unnecessary type cast * Fix ObservableMap to notify on all mutations (issue #91) PiperOrigin-RevId: 413202846
Support for detecting and being notified when an object is mutated.
An observable is a way to be notified of a continuous stream of events over time.
Some suggested uses for this library:
You may want to look at the former TC39 proposal Observe.observe, which was deprecated.
There are two general ways to detect changes:
Observable.changes
and be notified when an object changesDiffer.diff
to determine changes between two objects