Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
Does that work for you? My initial attempts were along those lines, but failed to actually wait before returning the result. And when I try your version, I get the result immediately when I ->success() the original promise...
Hmmm, when I try it by hand it seems to work like you describe (but that is without a running backend).
My variant with Concurrent.all does work as intended though, and does not require a Promise in.
I'll do some more tests to see what happens when, and will see if I can devise a testsuite entry.