📜  Angular forkjoin - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:19.900000             🧑  作者: Mango

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