@playcanvas/observer
Version:
Generic implementation of the observer pattern
16 lines (15 loc) • 680 B
TypeScript
/**
* The Observer module provides a robust implementation of the observer pattern, an essential
* mechanism for event handling and data binding in complex applications. It allows for creating
* observable objects that notify registered observers automatically whenever changes occur. This
* module is instrumental in developing reactive interfaces and facilitating communication between
* different parts of an application, enhancing modularity and responsiveness.
*
* @module Observer
*/
export * from './event-handle';
export * from './events';
export * from './history';
export * from './observer';
export * from './observer-history';
export * from './observer-list';