diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-12-18 15:17:09 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-12-18 15:17:09 -0500 |
commit | 3c8e408d34b54df57a700813636dd78ddc26c45b (patch) | |
tree | 3f41e8cb1cc8bb5b84384840ebdf5b296e0c1732 /tests/periodic.ur | |
parent | 4d07c227812b49e71de49b3e64ec6da1fbc30aed (diff) |
Periodic tasks
Diffstat (limited to 'tests/periodic.ur')
-rw-r--r-- | tests/periodic.ur | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/periodic.ur b/tests/periodic.ur new file mode 100644 index 00000000..baf49b3b --- /dev/null +++ b/tests/periodic.ur @@ -0,0 +1,4 @@ +task periodic 5 = fn () => debug "Every 5 seconds" +task periodic 13 = fn () => debug "Every 13 seconds" + +fun main () : transaction page = return <xml/> |