title: Does JavaScript Promise.all have a callback that is fired when there are success AND failures
body: <p>Am I misunderstanding Promise.all? I have X promises in an array and i'm trying to aggregate the success/failure ratio of the array.</p>
  
  <p><strong>Here is what I think I know:</strong></p>
  
  <p>Promise.all takes an array of promises.</p>
  
  <p>If all of the promises succeed then the <code>.then</code> callback is ran.</p>
  
  <p>If one of the promises fail then the <code>.catch</code> callback is called and the argument passed in is the value of the single raised error.</p>
  
  <p>There is no callback fired which is the result of all the promises if some succeed and some fail. I.e. it can't give you an array like (pseudo code) <code>[success, fail, success, success]</code> - like one would expect and one can find in many JS libraries (ajax, ember, etc).</p>
  
  <p>It's like the <code>.then</code> is more like a <code>.success</code>, not a function that <strong>always runs after all the promises are fulfilled regardless of whether some succeeded or some failed.</strong> Why doesn't have a <code>.when</code> <code>.finally</code> <code>.runThisShizNoMatterWhat</code>?? Or am I missing something (very probable)?</p>