title: rxjs.forkJoin ignore all success responses when one observable inside array fails, How to get info which observables were success?
body: <p>I have dynamic array of <code>[]Observables</code>, and I need to call them before <code>finalize()</code> API will be called, because then it will automatically <code>lock</code> the whole Object in DB for any modifications.
  Issue is that observables inside that array are for POST method.</p>
  <p>Everything works fine when no error occurs during upload. But I have an issue what if one of the API call inside forkJoin failed, then I have no chance to got <strong>success</strong> responses ? I got array of responses only when all observables finish with no error, but when at least one failed, then I lost all <strong>responses</strong> which were success.</p>
  <p><strong>Is there any other rxjs method for my usage? Or should it be handled somehow with <code>pipe/map</code>?</strong> Array contains same API service, only difference are the <code>data and requestParams</code>.</p>
  <p><strong>here is the code sample</strong></p>
  <pre><code>   ....
  
     const observables = [];
     // observables is filled in for-loop dynamically
     for(let file of this.obj.files){
       ...
         // when condition is ok
         const apiUpload = this.service.upload(file);
         observables.push(apiUpload)
     }
  
     forkJoin&lt;any[]&gt;(observables).subscribe({
        next: (res) =&gt; {
          console.log('responses ', res);
          // ready to finalize
          // this.finalize();
        },
        error: (error) =&gt; {
          console.log(error);
         // i am not able to find which API from array of observables are allready success 
        },
      });
  
  ....
  
  </code></pre>
  <p>It looks like forkJoin is mainly preferable for <code>GET</code> API services, which were just obtaining data, not storing data..
  Any suggest how can I proceed?</p>
  <p>I have in my mind another &quot;hacky&quot; that probably it is possible to catch the response of all CALLS via <code>Interceptor</code> but I do not know if it is a good solution ?</p>