If you've the following effect
testEffects$ = createEffect(() => this.actions$.pipe(
ofType(RDX_TEST_INC_VALUE),
switchMap(ac => instance.get('/api/test/kam').then(res => {
return {
type: RDX_TEST_INC_VALUE_SUCCESS,
}
}).catch((err: AxiosError) => {
return {
type: RDX_TEST_INC_VALUE_ERROR,
}
}))
))
How do we return the payload of RDX_TEST_INC_VALUE
with RDX_TEXT_INC_VALUE_SUCCESS
?