view tests/periodic.ur @ 1878:df6a040f5389

Make transactional FFI functions effectful by default
author Adam Chlipala <adam@chlipala.net>
date Thu, 10 Oct 2013 18:01:30 -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/>