Observable.forkJoin() doesn't execute
问题 I have the following code: //Loop: For each user ID/Role ID, get the data userMeta.forEach((businessRole) => { Observable.forkJoin( af.database.object('/roles/'+businessRole.$value), af.database.object('/users/'+businessRole.$key) ).subscribe( data => { console.log("Data received"); data[1].role = data[0]; this.users.push(data[1]); }, err => console.error(err) ); I am trying to subscribe to a result of 2 observables using forkJoin . For some reasons, the "Data received" message is not shown.