I am using angular4 what I want to achieve is that a function is called after 2 or 3 calls are finished.
example:
this.Get.firstGet().subscribe( data=> {
this.test();
});
this.Get.secondGet().subscribe( data=> {
this.test();
});
test(){
//do something when firstGet and secondGet are both finished
}
thx for the help!