annotate tests/periodic.ur @ 1349:87156c44824f

Periodic tasks
author Adam Chlipala <adam@chlipala.net>
date Sat, 18 Dec 2010 15:17:09 -0500
parents
children
rev   line source
adam@1349 1 task periodic 5 = fn () => debug "Every 5 seconds"
adam@1349 2 task periodic 13 = fn () => debug "Every 13 seconds"
adam@1349 3
adam@1349 4 fun main () : transaction page = return <xml/>