-
-
Save christiannwamba/e1905194bd3eb468589d264702201657 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
// ./server.js | |
let i = 0; | |
setInterval(() => { | |
const GOOG = stockData[1]['Trades'][i]; | |
pusher.trigger('trade', 'stock', GOOG); | |
i++; | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment