Created
July 6, 2015 21:39
-
-
Save bahamas10/ae56468f78d39e00676f to your computer and use it in GitHub Desktop.
example mike node
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
| var i = 0; | |
| function dosomething() { | |
| http.get('/foo', function(res) { | |
| // whatever you want | |
| i += 20; | |
| setTimeout(dosomething, 5 * 1000); | |
| }); | |
| } | |
| dosomething() |
bahamas10
commented
Jul 6, 2015
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment