Created
April 18, 2020 13:21
-
-
Save rubenmarcus/cddc98842e168b0609a416106f54b4f6 to your computer and use it in GitHub Desktop.
This file contains 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 pingPongEpic = action$ => | |
action$.filter(action => action.type === 'PING') | |
.delay(1000) | |
.map(action => ({ type: 'PONG' })) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment