UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

19 lines (16 loc) 270 B
function boop () { for (var i = 0; i < 30; i++) { nop(); } } function nop () { return undefined; } var times = 0; var iv = setInterval(function () { if (++times === 10) { clearInterval(iv); end(); } else boop() }, 100);