Created
September 5, 2017 21:55
-
-
Save Calvin-Huang/d9a51a180d417653ab25e673294baba4 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
const pingEpic = action$ => | |
action$.filter(action => action.type === 'PING') | |
.mapTo({ type: 'PONG' }); | |
// later... | |
dispatch({ type: 'PING' }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment