title: how to execute certain statement only after the Async loop execution is completed
body: <p>How to run the function FinalExecution only after the execution of all Async calls within the forEach function?</p>
  <pre><code>  doit=()=&gt;{
            cart.forEach(async(i)=&gt;{
                
                await axios.get(`localhost.........`})
                .then(({data})=&gt;{
                     this.setState({data})})
                .catch(()=&gt;{
                      this.setState({error:true})});
             })
             this.finalExecution();
          }
       
    finalExecution=()=&gt;{
         .......
         .......
    }
  </code></pre>