Class: ObserverMixin

ObserverMixin()

new ObserverMixin()

ObserverMixin class. Use to add observe/notifyObserversOf APIs to other classes.
Source:

Methods

(static) clearObservers(operation)

Unregister all asynchronous observers for the given operation (event). Example: Remove all observers connected to the `before save` operation. ```javascript MyModel.clearObservers('before save'); ```
Parameters:
Name Type Description
operation String The operation name.
Source: