watchModelTypes (typesAdded, typesUpdated) Function
public
Defined in packages/ember-extension-support/lib/data_adapter.js:129
Fetch the model types and observe them for changes.
Parameters:
-
typesAdded
Function
- Callback to call to add types. Takes an array of objects containing wrapped types (returned from `wrapModelType`).
-
typesUpdated
Function
- Callback to call when a type has changed. Takes an array of objects containing wrapped types.
Returns:
-
Function
- Method to call to remove all observers
Please login to continue.