Skip to content

Instantly share code, notes, and snippets.

@rdegges

rdegges/app.js

Created Jul 21, 2017
Embed
What would you like to do?
Crypto Compare setInterval
/**
* 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