I've got a parametrized selector like this
mySelector = (myId: number) => createSelector(selectList, list => list.find(item => item.id = myId);
and I need to use it in an effect, like this
myEffect$ = createEffect(
() => {
this.actions$.pipe(
ofType(myAction),
withLatestFrom(this.store.select(mySelector(myAction.ItemId)),
//