title: How to combine multiple subscription
body: <pre><code>ngOnInit() {
          this.getSubordinatesByAppUserId(this.appUserId);
          this.getHistoricalRecordsByUserId(this.appUserId);
  }
  
  
  getSubordinatesByAppUserId(id) {
         this.appUserService.findByReportTo(id)
              .subscribe((appUserResponse: HttpResponse&lt;AppUser[]&gt;) =&gt; {
                  this.subordinates = appUserResponse.body;
              });
      }
  
  
  
  getHistoricalRecordsByUserId(id){
      this.jobPostingService.findHistoricalRecById(id)
          .subscribe((jobPostingResponse: HttpResponse&lt;JobPosting[]&gt;) =&gt; {
              this.historyRec = jobPostingResponse.body;
              console.log(&quot;test &gt;&gt;&quot;+this.historyRec.length);
              // console.log(&quot;test &gt;&gt;&quot;+JSON.stringify(this.client));
          });
  }
  </code></pre>
  <p>i got problem when run this code because .subscribe cannot get 2 data immediately. is there any simple way to overcome this problem?</p>