Class PromiseProxyMixin
publicDefined in: | packages/ember-runtime/lib/mixins/promise_proxy.js:39 |
---|---|
Module: | @ember/object |
isFulfilled public
Module: | @ember/object |
---|
Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:135
Will become true
if the proxied promise is fulfilled.
isPending public
Module: | @ember/object |
---|
Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:108
Once the proxied promise has settled this will become false
.
isRejected public
Module: | @ember/object |
---|
Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:126
Will become true
if the proxied promise is rejected.
isSettled public
Module: | @ember/object |
---|
Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:117
Once the proxied promise has settled this will become true
.
promise public
Module: | @ember/object |
---|
Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:144
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 |
---|
Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:98
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