async.js
This file
Path
examples/async.js
12 lines · 232 bytes · JavaScript
Last changed by
Merge branch 'master' of git://github.com/csausdev/express into devvisionmediabefore adoption33ea221
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()