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

Function onTimeout

tests/tests.js:95–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 var timer = 0;
94
95 function onTimeout() {
96 clearTimeout(timer);
97 var z = " 1; 2; 3; 4; 5;";
98 strictEqual(s.slice(0, z.length), z, "Should produce a sequenz");
99 var z1 = " 1; 2; 3; 1; 2; 3;";
100 strictEqual(s1.slice(0, z1.length), z1, "Should always restart");
101 es.close();
102 esUnsupportedName.close();
103 start();
104 }
105
106 timer = setTimeout(onTimeout, 3000);
107

Callers

nothing calls this directly

Calls 1

startFunction · 0.70

Tested by

no test coverage detected