DataAdapter#watchModelTypes()

watchModelTypes (typesAdded, typesUpdated) Functionpublic

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
doc_EmberJs
2016-11-30 16:49:11
Comments
Leave a Comment

Please login to continue.