Check out example codes for "Angular forkjoin". It will help you in understanding the concepts better.

Code Example 1

forkJoin([
  getData1(), //observable 1
  getData2() //observable 2
]).subscribe(([response1, response2]) => {
  // When Both are done loading do something
});

Learn ReactJs, React Native from akashmittal.com