commit | 25f1de0f0bd7b132bac1df90f03da750c8d4154a | [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 15:56:00 2021 -0600 |
tree | 0fb397f47a51d135600485265309f8ba3df33ff3 | |
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