Created
March 6, 2018 10:33
-
-
Save didacus/9c304dfe65e4e51525c651d9a4eceeac to your computer and use it in GitHub Desktop.
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
// Refresh by executing the fuction every 45 seconds | |
setInterval(() => this._fetchArrivalTimes(), 45000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment