W3cubDocs

/Ember.js

Ember.PromiseProxyMixin (public)

Defined in: packages/ember-runtime/lib/mixins/promise_proxy.js:40
Module: ember

isFulfilled public

Will become true if the proxied promise is fulfilled.

isPending public

Once the proxied promise has settled this will become false.

isRejected public

Will become true if the proxied promise is rejected.

isSettled public

Once the proxied promise has settled this will become true.

promise public

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>
});

reason public

If the proxied promise is rejected this will contain the reason provided.

© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/ember/2.15/classes/Ember.PromiseProxyMixin/properties