Which merge operator to use to listen to single source and not 2nd stream source
问题 So I know the question may seem simple, but it's not that simple. All the operators I have tried such as combineLatest , concat , and switchMap result in diff issues. So here is the challenge: var campaignSelected$ = this.store.select(store => store.appDb.uiState.campaign.campaignSelected) var campaignsList$ = this.store.select(store => store.msDatabase.sdk.table_campaigns); return campaignSelected$.switchMap(i_campaignSelected => campaignsList$, (campaignId, campaigns) => { return 'foo'; })