Class PromiseProxyMixin

public
Defined in: packages/ember-runtime/lib/mixins/promise_proxy.js:39
Module: @ember/object

isFulfilled public

Module: @ember/object

Will become true if the proxied promise is fulfilled.

isPending public

Module: @ember/object

Once the proxied promise has settled this will become false.

isRejected public

Module: @ember/object

Will become true if the proxied promise is rejected.

isSettled public

Module: @ember/object

Once the proxied promise has settled this will become true.

promise public

Module: @ember/object

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

Module: @ember/object

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

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