-
-
Save amcintyre99/13d18b0357949ac17019 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
request timeout cb | |
setTimeout function so request restarts | |
request end, close, error cb | |
if timeout cb already run | |
do nothing (happens a lot since end, close and error runs on timeouts) | |
else | |
setTimeout function so request restarts | |
but i dont know how to determine if the timeout cb has already run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment