annotate tests/periodic.ur @ 1792:3d823d8424cc

Disallow suspending operations in <active code={...}>
author Adam Chlipala <adam@chlipala.net>
date Mon, 23 Jul 2012 09:03:41 -0400
parents 87156c44824f
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/>