Created
December 23, 2017 00:34
-
-
Save erichulburd/31e12b00fcc125f44860f9812e3a4428 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 game = (action$, store) => | |
action$.ofType(actions.START) | |
.mergeMap(() => { | |
const interval = Observable.interval(250) | |
.takeUntil(action$.ofType( | |
actions.PAUSE, | |
actions.RESET, | |
actions.END | |
)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment