В моем приложении используются эффекты ngrx и ngrx. Вот один из эффектов моего приложения:
@Effect()
reloadPersonalInfo$: Observable<Action> = this.actions$
.ofType(currentUserAccount.ActionTypes.RELOAD_PERSONAL_INFO)
.filter(() => <boolean>JSON.parse(localStorage.getItem('authenticated')))
.switchMap(() =>
this.userAccountService
.retrieveCurrentUserAccount()
.map(currentUserAccount => new LoadUserAccountAction(currentUserAccount))
.map(() => new SigninAction())
);
Мне интересно, почему LoadUserAccountAction
не входит в мою функцию редуктора, кроме как если я закомментирую //.map(() => new SigninAction())
Кто-нибудь может помочь? Что я делаю неправильно?
concatMap
(см. ответ ниже)? - person balteo   schedule 25.03.2017