commit | 0cecece8026d86fd4f5c909ab2e520f9e3fd28ba | [log] [tgz] |
---|---|---|
author | Mark Egli <markegli@google.com> | Tue Nov 30 13:38:38 2021 -0800 |
committer | Mark Egli <markegli@google.com> | Tue Nov 30 13:43:29 2021 -0800 |
tree | 2500b70d0be3417406f1628289aae0b80b24cec8 | |
parent | 78867c84013a3b500825b9bb1287f8df959fc3be [diff] |
Internal change PiperOrigin-RevId: 413233451
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