FLUTTER ECOSYSTEM

google/observable

객체를 관찰 가능하게 표시하고, 해당 객체가 변경될 때 알림을 받는 기능을 지원합니다.

관찰 가능한 프로젝트 이미지
Stars
59
Forks
21
최근 푸시(UTC)
2021. 12. 1.
프로젝트 상태
보관됨
Google GitHub avatar
GITHUB Organization

Google ↗

Google ❤️ Open Source

United States of America공식 웹사이트 ↗
언어Dart

사용 중인 의존성

의존성 목록 9 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Build Status

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.changes and be notified when an object changes
  • Use Differ.diff to determine changes between two objects