view tests/periodic.ur @ 2172:3b4a5604ed97

Beautify '-h' output for web servers
author Adam Chlipala <adam@chlipala.net>
date Thu, 20 Aug 2015 15:11:40 -0400
parents 87156c44824f
children
line wrap: on
line source
task periodic 5 = fn () => debug "Every 5 seconds"
task periodic 13 = fn () => debug "Every 13 seconds"

fun main () : transaction page = return <xml/>