This provides the ability to manage async behavior with computed properties as a light-weight alternative to, or in conjunction with ember-concurrency.
- Ember.js v2.18 or above
- Ember CLI v2.13 or above
ember install ember-computed-promise-monitor
or with a decorator:
;// ...get postName
How is this different from PromiseProxy?
You can get similar functionality by using PromiseProxyMixin:
;;;let ObjectPromiseProxy = ObjectProxy;let proxy = ObjectPromiseProxy;
The key differences are that the
- proxies all properties to the resolved value
contentfor the resulting value, which may be confusing (and is undocumented)
- throws an exception on promise rejection.
PromiseMonitorsets the error on the
This project is licensed under the MIT License.