ChangesObservable

The ChangesObservable module is an object that represents a resource that provides
the ability to observe the changes that happened in the index map indexes during
the code running.

Methods

emit(indexesState)

The method is an entry point for triggering new index map changes. Emitting the
changes triggers comparing algorithm which compares last saved state with a new
state. When there are some differences, the changes are sent to all subscribers.

Parameters:
Name Type Description
indexesState Array

An array with index map state.

Class: ChangesObservable