B
Size: a a a
B
SФ
SФ
B
B
SФ
AS
AS
ofType(…),
withLatestFrom(1,2),
filter([action, 1, 2]) => <condition>)
AS
B
ofType(…),
withLatestFrom(1,2),
filter([action, 1, 2]) => <condition>)
AS
AS
B
@Effect()
queryCountPerStatus = this.actions$.pipe(
ofType(queryCountPerStatus),
switchMap(() =>
combineLatest(
this.store$.pipe(select(selectAuthIdentityCompanyId)),
this.store$.pipe(select(selectCompanyOrderRoleFromIdentity)),
).pipe(filter(([companyId, companyRoles]) => !!(companyId && companyRoles))),
),
switchMap(([companyId, companyRole]) =>
this.analyticsService
.getSmth$(companyId, companyRole)
),
);
ОС
DG
ОС
А
A