title: Node.js - Continue promise chain for each result after promise.all()
body: <p>I am using <code>Promise.all()</code> within a promise chain. Each promise within the Promise.all() returns a string.</p>
  
  <p>The issue im having is that Promise.all() <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all" rel="nofollow noreferrer">returns a Promise</a> object to the next promise and I would like to continue the promise chain for each string.</p>
  
  <p>Heres an example:</p>
  
  <pre><code>....
       return Promise.all(plugins);
  
  })
  .then(function(response) {
  
       console.log(response)
  ....
  </code></pre>
  
  <p>The <code>response</code> looks like:</p>
  
  <pre><code>[ 'results from p1', 'results from p2' ]
  </code></pre>
  
  <p>Is there any way to continue the promise chain for each of the results rather than continuing with a single object containing all results?</p>