ChangesObserver

The ChangesObserver module is an object that represents a disposable resource
provided by the ChangesObservable module.

Methods

subscribe(callback){ChangesObserver}

Subscribes to the observer.

Parameters:
Name Type Description
callback function

A function that will be called when the new changes will appear.

Returns: {ChangesObserver}

unsubscribe(){ChangesObserver}

Unsubscribes all subscriptions. After the method call, the observer would not produce
any new events.

Returns: {ChangesObserver}
Class: ChangesObserver