view tests/sleep.ur @ 2300:57f6473b1469

More work on heuristics.
author Ziv Scully <ziv@mit.edu>
date Thu, 19 Nov 2015 18:13:01 -0500
parents 500e93aa436f
children
line wrap: on
line source
fun annoyer () =
    alert "Hi!";
    sleep 5000;
    annoyer ()

fun main () : transaction page = return <xml><body onload={annoyer ()}/></xml>