Bugs in Promise.all(..) ? #651
Replies: 3 comments
-
Posted at 2016-11-18 by @gfwilliams It could well be an issue - while promises have got quite a lot of use recently, I haven't personally used In the mean time, you could probably replace |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-18 by @gfwilliams Just looked at this, and:
Does work. My guess is the reason you're having problems is you're doing this at the root scope - effectively pasting in one command after the other. In that case, Then, when you do As for the other bit, at the moment |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-18 by @gfwilliams If you get the latest build in an hour or so, this should all be fixed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-11-17 by luwar
I'm in the process of migrating my modules from using callbacks to promises. The code looks much tidier.
But I run into trouble with
Promise.all(..)
First question: Why is there no output?
It works when I wrap the code into a function call:
Second question: The results of the promises seems to be circular shifted.
Beta Was this translation helpful? Give feedback.
All reactions