setInterval - scheduled execution



examples/basic/with_interval.js
setInterval(function() {
    console.log("world");
}, 1000);
console.log("hello");

$ node examples/basic/with_interval.js
hello
world
world
world
^C