title: How to start multiple await proccesses at the same time in node
body: <p>Basically I have few async functions that are waiting each other to finish and I want to start mutliple proccesses of these functions at the same time. Now my code waits till 1 proccess (1 loop) will finish and then starts another and I want to start more loops at the same time.</p>
  <p>My code:</p>
  <pre><code>async function Start() {
  
    console.log(&quot;Starting...&quot;)
  
    try {
  
  for (let i = 0; i &lt; 3; i++) {
  
               var taskid = i
      
              await AddBasket(taskid)
              const url = await Basket(taskid)
              const urlek = await Guest(taskid, url)
              await ShipInfo(taskid, urlek)
  }
    }
    catch (error) {
      console.error(chalk.red(&quot;Error while starting&quot;, error));
    }
  }
  
  Start()
  </code></pre>
  <pre><code>In practice it looks like this: 
  TASK: 0 Adding to cart
  TASK: 0 Successfully added to cart
  TASK: 0 Posting some to get checkout page.
  TASK: 0 Successfully posted
  TASK: 0 Scraping for checkout link.
  TASK: 0 Successfully scraped
  TASK: 0 Submitting shipping info
  TASK: 0 Successfully Submitted shipping info
  TASK: 1 Adding to cart
  TASK: 1 Successfully added to cart....
  </code></pre>
  <p>I want to make it looks like:</p>
  <pre><code>TASK: 0 Adding to cart
  TASK: 1 Adding to cart
  TASK: 2 Adding to cart....
  </code></pre>