view tests/periodic.ur @ 1418:22674ac8ebe6

Proper error handling for periodic tasks
author Adam Chlipala <adam@chlipala.net>
date Sun, 23 Jan 2011 18:16:30 -0500
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/>