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 | 541a15124e163ce8aff94bf37f24c54085c19884 (patch) | |
tree | 3f41e8cb1cc8bb5b84384840ebdf5b296e0c1732 /tests/periodic.ur | |
parent | 39cd3aba26129807a15ccc29bb9f71e2537c4551 (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/> |