You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If later on dynamically adding promises in time (before all promises are 'finalized') to the passed 'promises'-array the 'then'-method fires unlike the 'spread'-method already after the promises that were contained within the 'promises'-array during the evaluation of that statement ("q.all(promises).then(function(){...})") are resolved wheres the 'spread'-method takes the added ones into account.
As if the 'then'-method listened to the resolution of the 'copy' of the 'promises'-array whereas the 'spread'-method listened to its 'reference'.
I wouldn't be aware of that being a feature ?
The text was updated successfully, but these errors were encountered:
If later on dynamically adding promises in time (before all promises are 'finalized') to the passed 'promises'-array the 'then'-method fires unlike the 'spread'-method already after the promises that were contained within the 'promises'-array during the evaluation of that statement ("q.all(promises).then(function(){...})") are resolved wheres the 'spread'-method takes the added ones into account.
As if the 'then'-method listened to the resolution of the 'copy' of the 'promises'-array whereas the 'spread'-method listened to its 'reference'.
I wouldn't be aware of that being a feature ?
The text was updated successfully, but these errors were encountered: