React observing

IObservable<T>

IObservable<T>

Overview

This is the default type of an observable object.

Definition

interface IObservable<T> {
id: string;
value: T;
subscribe(callback: (val: T) => void): ISubscription;
}
Edit this page on GitHub

On this page