async.js
This file
Path
examples/async.js
12 lines · 232 bytes · JavaScript
Last changed by
merged from upstreamcsausdevbefore adoptiona3acc21
History of this fileTake it
12345678910111213require.paths.unshift("./lib")require('express')
use(Express.Logger)
get('/wait/:ms', function() { setTimeout(function() { halt('Waited ' + param('ms') + ' milliseconds before replying') }, param('ms'))});
Express.start()