node-timeout
async module
var async = ;var Timeout = ; var limit = ; async; var { ;};
output
hello 1
err: [Error: callback timeout!]
over
http module
var http = ;var Timeout = ; var limit = ; // This is a test page which will spend 5 sec to loadurl = 'http://lellansin.com/test/timeout.php'; var { if resstatusCode == 200 // normal status res; else // exception status console; console;}; http;
output
http status 408
over