Created
September 20, 2018 16:29
-
-
Save ajcrites/8dbcdf67ee969d31ccc9e4e5680c7f19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Spot the semantic error | |
export const stopEpic = action => action.pipe( | |
ofType(STOP), | |
switchMapTo(stop().pipe( | |
mapTo(new StopAction()), | |
catchError(() => of(new StopFailureAction())), | |
)), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment