title: Angular: perform http request in for cycle
body: <p>I need to perform HTTP request for each entity in array. I see two ways:</p>
  <p>For cycle:</p>
  <pre><code>for (const i of entitiesToDelete) {
        this.apiService.deleteOne(i).subscribe(data =&gt; {
             console.log('deleted', i);
          });
  }
  </code></pre>
  <p>forkJoin:</p>
  <pre><code>var requests = entitiesToDelete.map(e =&gt; this.apiService.deleteOne(e));
  
  forkJoin(requests).subscribe(data =&gt; {
   for (const i of data) {
        console.log('deleted', i);
   }
  });
  </code></pre>
  <p>There is a little difference: <code>for</code> will log to console in order of http calls are finished, whereas <code>forkJoin</code> will log to console when all requests are executed.</p>
  <p>I am just trying to ensure that this is not an antipattern nor I am breaking some best practice.</p>
  <p>Thanks for any feedback!</p>