Pushing Records into the Store

Pushing Records into the Store One way to think about the store is as a cache of all of the records that have been loaded by your application. If a route or a controller in your app asks for a record, the store can return it immediately if it is in the cache. Otherwise, the store must ask the adapter to load it, which usually means a trip over the network to retrieve it from the server. Instead of waiting for the app to request a record, however, you can push records into the store's cache ah

ProxyMixin#content

contentEmber.Objectprivate Defined in packages/ember-runtime/lib/mixins/-proxy.js:54 The object whose properties will be forwarded. Default: null

ProxyMixin

Ember.ProxyMixin Class PRIVATE Defined in: packages/ember-runtime/lib/mixins/-proxy.js:43 Module: ember-runtime Ember.ProxyMixin forwards all properties not defined by the proxy itself to a proxied content object. See Ember.ObjectProxy for more details.

PromiseProxyMixin#then()

then (callback) RSVP.Promisepublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:165 An alias to the proxied promise's then. See RSVP.Promise.then. Parameters: callback Function Returns: RSVP.Promise

PromiseProxyMixin#reason

reasonpublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:93 If the proxied promise is rejected this will contain the reason provided. Default: null

PromiseProxyMixin#promise

promisepublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:139 The promise whose fulfillment value is being proxied by this object. This property must be specified upon creation, and should not be changed once created. Example: Ember.ObjectProxy.extend(Ember.PromiseProxyMixin).create({ promise: <thenable> });

PromiseProxyMixin#isSettled

isSettledpublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:112 Once the proxied promise has settled this will become true. Default: false

PromiseProxyMixin#isRejected

isRejectedpublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:121 Will become true if the proxied promise is rejected. Default: false

PromiseProxyMixin#isPending

isPendingpublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:103 Once the proxied promise has settled this will become false. Default: true

PromiseProxyMixin#isFulfilled

isFulfilledpublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:130 Will become true if the proxied promise is fulfilled. Default: false