async.js
This file
Path
examples/async.js
13 lines · 252 bytes · JavaScript
Last changed by
Better examplesvisionmediabefore adoption44f1a5d
History of this fileTake it
1234567891011121314
require.paths.unshift("./lib")require('express')
use(Express.Logger)
get('/wait/:ms', function() { setTimeout(function() { Express.server.finished('Waited ' + param('ms') + ' milliseconds before replying') }, param('ms'))});
Express.start()