Skip to content

Instantly share code, notes, and snippets.

@vkarpov15
Created September 10, 2018 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkarpov15/9faf26db87b91c9b41386f80689dfad3 to your computer and use it in GitHub Desktop.
Save vkarpov15/9faf26db87b91c9b41386f80689dfad3 to your computer and use it in GitHub Desktop.
const countEpic = action$ => action$.pipe(
filter(action => action.type === 'CLICK_INCREMENT'),
mergeMap(async () => {
throw new Error('Oops!');
})
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment