google/observable
객체를 관찰 가능하게 표시하고, 해당 객체가 변경될 때 알림을 받는 기능을 지원합니다.
- Stars
- 59
- Forks
- 21
- 최근 푸시(UTC)
- 2021. 12. 1.
- 프로젝트 상태
- 보관됨
언어Dart
사용 중인 의존성
의존성 목록 9 개
- collection
^1.11.0 - dart_internal
^0.2.1 - meta
^1.3.0 - quiver
^3.0.1 - build_runner개발 의존성
^2.1.2 - build_test개발 의존성
^2.1.0 - build_web_compilers개발 의존성
^3.0.0 - pedantic개발 의존성
^1.10.0 - test개발 의존성
^1.16.8
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
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:
- Observe objects for changes, and log when a change occurs
- Optimize for observable collections in your own APIs and libraries instead of diffing
- Implement simple data-binding by listening to streams
You may want to look at the former TC39 proposal Observe.observe, which was deprecated.
Usage
There are two general ways to detect changes:
- Listen to
Observable.changesand be notified when an object changes - Use
Differ.diffto determine changes between two objects