MCPcopy Create free account
hub / github.com/Yaffle/EventSource / onTimeout

Function onTimeout

tests/eventsource.js:345–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

343 }
344 };
345 var onTimeout = function () {
346 timeout = setTimeout(function () {
347 onTimeout();
348 }, 500);
349 if (xhr.readyState === 3) {
350 onProgress();
351 }
352 };
353
354 // XDomainRequest#abort removes onprogress, onerror, onload
355 if ("onload" in xhr) {

Callers 4

eventsource.jsFile · 0.70
onProgressFunction · 0.70
onFinishFunction · 0.70
startFunction · 0.70

Calls 3

onProgressFunction · 0.70
onFinishFunction · 0.70
closeFunction · 0.70

Tested by

no test coverage detected