I have for example two nested subscribe methods.Sometimes i have more then two and they need to be connected,so when the first ends then the second should start etc... What is the best solution so they can wait other one,but not to be nested on this way ?
this.userService.postUser(userModel).subscribe(postUser => {
this.userService.getAllUsers().subscribe(users => {
})
})