If I want to pass returned value from the first stream to second I use switchMap
.
What should I use, if I want to use param from the first stream in second, but I don't want to do 2 subscribe?
this.firstStream$.subscribe(first => {
this.secondStream$.subscribe(second => {
// here I want to use first and second.
}