rsvp-promise Questions

1

I am using Ember's PromiseProxyMixin with AJAX data calls and Ember RSVP Promises. Rather than incorporating error-handling in each route/template, I would like to bubble a rejected promise up to a...
Severus asked 29/9, 2015 at 13:35

1

Solved

I'm new to promises and using the rsvp implementation. I want to asynchronously read a list of files, then proceed to another task only when all files have been read. I've got as far as the basic...
Haydenhaydn asked 22/2, 2015 at 19:36

1

Solved

I'm stuck on the following: A script is returning an arbitrary number n or array, like this: [["a"], ["b"], ["c"], ["d"]] I need to loop over the arrays using promise then(), but as I don't kno...

1

Solved

What aspects of a promise library does the spec not cover? What kind of things vary between implementations? Please illustrate with examples of actual differences (eg between Bluebird and Q).
Rue asked 1/5, 2014 at 7:32

2

Solved

Enviroment # Ember : 1.4.0 # Ember Data : 1.0.0-beta.7+canary.b45e23ba Model I have simplified my use case to make the question easier to understand and anwser. Let's assume we have 3 models: C...
Upshaw asked 21/4, 2014 at 22:10

3

Solved

I have 2 simple methods: function do(x,y){ if(x){ XHR1().success(); } if(y){ XHR2().success(); } } function done(){ return something; } now i just would like to be sure to call done() w...
Cheiro asked 20/2, 2014 at 15:47
1

© 2022 - 2024 — McMap. All rights reserved.