Created
July 21, 2017 01:21
-
-
Save rdegges/c22070f9dcbed8dc129df0a1f3ab863e to your computer and use it in GitHub Desktop.
Crypto Compare setInterval
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
/** | |
* Once the page has been loaded and all of our app stuff is working, we'll | |
* start polling for new cryptocurrency data every minute. | |
* | |
*/ | |
setInterval(() => { | |
app.getCoins(); | |
}, UPDATE_INTERVAL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment